org.netxms.client
Class NXCNode

java.lang.Object
  extended by org.netxms.client.NXCObject
      extended by org.netxms.client.NXCNode

public class NXCNode
extends NXCObject

This class represents NetXMS NODE objects.

Author:
Victor

Field Summary
static int AGENT_AUTH_MD5
           
static int AGENT_AUTH_NONE
           
static int AGENT_AUTH_PLAINTEXT
           
static int AGENT_AUTH_SHA1
           
static int SNMP_VERSION_1
           
static int SNMP_VERSION_2C
           
static int SNMP_VERSION_3
           
 
Fields inherited from class org.netxms.client.NXCObject
OBJECT_AGENTPOLICY, OBJECT_AGENTPOLICY_CONFIG, OBJECT_CLUSTER, OBJECT_CONDITION, OBJECT_CONTAINER, OBJECT_GENERIC, OBJECT_INTERFACE, OBJECT_NETWORK, OBJECT_NETWORKSERVICE, OBJECT_NODE, OBJECT_POLICYGROUP, OBJECT_POLICYROOT, OBJECT_SERVICEROOT, OBJECT_SUBNET, OBJECT_TEMPLATE, OBJECT_TEMPLATEGROUP, OBJECT_TEMPLATEROOT, OBJECT_VPNCONNECTOR, OBJECT_ZONE, STATUS_CRITICAL, STATUS_DISABLED, STATUS_MAJOR, STATUS_MINOR, STATUS_NORMAL, STATUS_TESTING, STATUS_UNKNOWN, STATUS_UNMANAGED, STATUS_WARNING
 
Constructor Summary
NXCNode(NXCPMessage msg, NXCSession session)
           
 
Method Summary
 int getAgentAuthMethod()
           
 int getAgentPort()
           
 java.lang.String getAgentSharedSecret()
           
 java.lang.String getAgentVersion()
           
 int getFlags()
           
 int getNodeType()
           
 java.lang.String getObjectClassName()
           
 java.lang.String getPlatformName()
           
 long getPollerNodeId()
           
 long getProxyNodeId()
           
 int getRequredPollCount()
           
 int getSnmpAuthMethod()
          Get SNMP authentication method
 java.lang.String getSnmpAuthName()
          Get SNMP authentication name - community string for version 1 and 2c, or user name for version 3.
 java.lang.String getSnmpAuthPassword()
          Get SNMP authentication password.
 java.lang.String getSnmpOID()
           
 int getSnmpPrivMethod()
          Get SNMP privacy (encryption) method
 java.lang.String getSnmpPrivPassword()
          Get SNMP privacy password.
 long getSnmpProxyId()
           
 int getSnmpVersion()
           
 java.lang.String getSystemDescription()
           
 
Methods inherited from class org.netxms.client.NXCObject
getAccessList, getChilds, getChildsAsArray, getComments, getCustomAttributes, getGeolocation, getNumberOfChilds, getNumberOfParents, getObjectClass, getObjectId, getObjectName, getParents, getParentsAsArray, getPrimaryIP, getStatus, getTrustedNodes, isChildOf, isChildOf, isDeleted, isDirectChildOf, isInheritAccessRights
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SNMP_VERSION_1

public static final int SNMP_VERSION_1
See Also:
Constant Field Values

SNMP_VERSION_2C

public static final int SNMP_VERSION_2C
See Also:
Constant Field Values

SNMP_VERSION_3

public static final int SNMP_VERSION_3
See Also:
Constant Field Values

AGENT_AUTH_NONE

public static final int AGENT_AUTH_NONE
See Also:
Constant Field Values

AGENT_AUTH_PLAINTEXT

public static final int AGENT_AUTH_PLAINTEXT
See Also:
Constant Field Values

AGENT_AUTH_MD5

public static final int AGENT_AUTH_MD5
See Also:
Constant Field Values

AGENT_AUTH_SHA1

public static final int AGENT_AUTH_SHA1
See Also:
Constant Field Values
Constructor Detail

NXCNode

public NXCNode(NXCPMessage msg,
               NXCSession session)
Parameters:
msg -
Method Detail

getFlags

public int getFlags()
Returns:
the flags

getNodeType

public int getNodeType()
Returns:
the nodeType

getRequredPollCount

public int getRequredPollCount()
Returns:
the requredPollCount

getPollerNodeId

public long getPollerNodeId()
Returns:
the pollerNodeId

getProxyNodeId

public long getProxyNodeId()
Returns:
the proxyNodeId

getSnmpProxyId

public long getSnmpProxyId()
Returns:
the snmpProxyId

getAgentPort

public int getAgentPort()
Returns:
the agentPort

getAgentAuthMethod

public int getAgentAuthMethod()
Returns:
the agentAuthMethod

getAgentSharedSecret

public java.lang.String getAgentSharedSecret()
Returns:
the agentSharedSecret

getAgentVersion

public java.lang.String getAgentVersion()
Returns:
the agentVersion

getPlatformName

public java.lang.String getPlatformName()
Returns:
the platformName

getSnmpAuthName

public java.lang.String getSnmpAuthName()
Get SNMP authentication name - community string for version 1 and 2c, or user name for version 3.

Returns:
SNMP authentication name

getSnmpOID

public java.lang.String getSnmpOID()
Returns:
the snmpOID

getSnmpVersion

public int getSnmpVersion()
Returns:
the snmpVersion

getSystemDescription

public java.lang.String getSystemDescription()
Returns:
the systemDescription

getObjectClassName

public java.lang.String getObjectClassName()
Overrides:
getObjectClassName in class NXCObject
Returns:
Name of NetXMS object's class

getSnmpAuthPassword

public java.lang.String getSnmpAuthPassword()
Get SNMP authentication password.

Returns:
SNMP authentication password

getSnmpPrivPassword

public java.lang.String getSnmpPrivPassword()
Get SNMP privacy password.

Returns:
SNMP privacy password

getSnmpAuthMethod

public int getSnmpAuthMethod()
Get SNMP authentication method

Returns:
SNMP authentication method

getSnmpPrivMethod

public int getSnmpPrivMethod()
Get SNMP privacy (encryption) method

Returns:
SNMP privacy method


Copyright © 2009. All Rights Reserved.