Package org.netxms.client.objects
Class Node
-
- All Implemented Interfaces:
ElementForPhysicalPlacment,PollingTarget,ZoneMember
public class Node extends AbstractNode
This class represents NetXMS NODE objects.
-
-
Field Summary
-
Fields inherited from class org.netxms.client.objects.AbstractNode
AGENT_AUTH_MD5, AGENT_AUTH_NONE, AGENT_AUTH_PLAINTEXT, AGENT_AUTH_SHA1, agentAuthMethod, agentCacheMode, agentCompressionMode, agentId, agentPort, agentProxyId, agentSharedSecret, agentVersion, bootTime, bridgeBaseAddress, capabilities, chassisPlacement, cipDeviceType, cipDeviceTypeName, cipExtendedStatusText, cipState, cipStateText, cipStatus, cipStatusText, driverName, driverVersion, etherNetIpPort, etherNetIpProxyId, flags, hardwareProductCode, hardwareProductName, hardwareProductVersion, hardwareSerialNumber, hardwareVendor, hypervisorInformation, hypervisorType, icmpAverageResponseTime, icmpLastResponseTime, icmpMaxResponseTime, icmpMinResponseTime, icmpPacketLoss, icmpProxyId, icmpStatCollectionMode, icmpStatisticsCollected, icmpTargets, IFXTABLE_DEFAULT, IFXTABLE_DISABLED, IFXTABLE_ENABLED, ifXTablePolicy, lastAgentCommTime, lldpNodeId, NC_HAS_AGENT_IFXCOUNTERS, NC_HAS_ENTITY_MIB, NC_HAS_IFXTABLE, NC_HAS_USER_AGENT, NC_HAS_VLANS, NC_HAS_WINPDH, NC_IS_8021X, NC_IS_BRIDGE, NC_IS_CDP, NC_IS_ETHERNET_IP, NC_IS_LLDP, NC_IS_LOCAL_MGMT, NC_IS_MODBUS_TCP, NC_IS_NATIVE_AGENT, NC_IS_NDP, NC_IS_OSPF, NC_IS_PRINTER, NC_IS_PROFINET, NC_IS_ROUTER, NC_IS_SMCLP, NC_IS_SNMP, NC_IS_STP, NC_IS_VRRP, NC_IS_WIFI_CONTROLLER, NF_AGENT_OVER_TUNNEL_ONLY, NF_DISABLE_DISCOVERY_POLL, NF_DISABLE_ETHERNET_IP, NF_DISABLE_ICMP, NF_DISABLE_NXCP, NF_DISABLE_ROUTE_POLL, NF_DISABLE_SNMP, NF_DISABLE_TOPOLOGY_POLL, NF_FORCE_ENCRYPTION, NF_PING_PRIMARY_IP, NF_REMOTE_AGENT, NF_SNMP_SETTINGS_LOCKED, nodeSubType, nodeType, NSF_AGENT_UNREACHABLE, NSF_CPSNMP_UNREACHABLE, NSF_SNMP_UNREACHABLE, physicalContainerId, platformName, pollerNodeId, portNumberingScheme, portRowCount, primaryIP, primaryName, rackHeight, rackImageFront, rackImageRear, rackOrientation, rackPosition, requredPollCount, snmpAuthMethod, snmpAuthName, snmpAuthPassword, snmpOID, snmpPort, snmpPrivMethod, snmpPrivPassword, snmpProxyId, snmpSysContact, snmpSysLocation, snmpSysName, snmpVersion, sshLogin, sshPassword, sshProxyId, stateFlags, systemDescription, vrrpVersion, zoneId
-
Fields inherited from class org.netxms.client.objects.DataCollectionTarget
DCF_DISABLE_CONF_POLL, DCF_DISABLE_DATA_COLLECT, DCF_DISABLE_STATUS_POLL, DCSF_NETWORK_PATH_PROBLEM, DCSF_UNREACHABLE, overviewDciData, tooltipDciData
-
Fields inherited from class org.netxms.client.objects.AbstractObject
accessList, backupZoneProxyId, BUSINESSSERVICEROOT, CALCULATE_DEFAULT, CALCULATE_MOST_CRITICAL, CALCULATE_MULTIPLE_THRESHOLDS, CALCULATE_SINGLE_THRESHOLD, children, comments, creationTime, customAttributes, DASHBOARDROOT, dashboards, drillDownObjectId, fixedPropagatedStatus, geolocation, guid, image, inheritAccessRights, inMaintenanceMode, isDeleted, moduleData, NETWORK, NETWORKMAPROOT, OBJECT_ACCESSPOINT, OBJECT_AGENTPOLICY, OBJECT_AGENTPOLICY_CONFIG, OBJECT_AGENTPOLICY_LOGPARSER, OBJECT_BUSINESSSERVICE, OBJECT_BUSINESSSERVICEROOT, OBJECT_CHASSIS, OBJECT_CLUSTER, OBJECT_CONDITION, OBJECT_CONTAINER, OBJECT_CUSTOM, OBJECT_DASHBOARD, OBJECT_DASHBOARDGROUP, OBJECT_DASHBOARDROOT, OBJECT_GENERIC, OBJECT_INTERFACE, OBJECT_MOBILEDEVICE, OBJECT_NETWORK, OBJECT_NETWORKMAP, OBJECT_NETWORKMAPGROUP, OBJECT_NETWORKMAPROOT, OBJECT_NETWORKSERVICE, OBJECT_NODE, OBJECT_NODELINK, OBJECT_POLICYGROUP, OBJECT_POLICYROOT, OBJECT_RACK, OBJECT_SENSOR, OBJECT_SERVICEROOT, OBJECT_SLMCHECK, OBJECT_SUBNET, OBJECT_TEMPLATE, OBJECT_TEMPLATEGROUP, OBJECT_TEMPLATEROOT, OBJECT_VPNCONNECTOR, OBJECT_ZONE, objectClass, objectId, objectName, parents, POLICYROOT, postalAddress, primaryZoneProxyId, PROPAGATE_DEFAULT, PROPAGATE_FIXED, PROPAGATE_RELATIVE, PROPAGATE_TRANSLATED, PROPAGATE_UNCHANGED, REPORTROOT, responsibleUsers, SERVICEROOT, session, status, statusCalculationMethod, statusPropagationMethod, statusShift, statusSingleThreshold, statusThresholds, statusTransformation, TEMPLATEROOT, trustedNodes, urls, ZONE0
-
-
Constructor Summary
Constructors Constructor Description Node(long id, NXCSession session)Create new node object.Node(org.netxms.base.NXCPMessage msg, NXCSession session)Create node object from NXCP message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHaveAgent()Identify if this object can have NetXMS agent.booleancanHaveInterfaces()Identify if this object can have network interfaces.booleancanHavePollerNode()Identify if this object can have poller node property.booleancanUseEtherNetIP()Identify if this object can use EtherNet/IP for communications.StringgetObjectClassName()booleanisAlarmsVisible()If this method returns true object can have visible alarms.booleanisAllowedOnMap()If this method returns true object is allowed to be on custom network map.-
Methods inherited from class org.netxms.client.objects.AbstractNode
getAgentAuthMethod, getAgentCacheMode, getAgentCompressionMode, getAgentId, getAgentPort, getAgentProxyId, getAgentSharedSecret, getAgentVersion, getBootTime, getBridgeBaseAddress, getCapabilities, getChassisPlacement, getCipDeviceType, getCipDeviceTypeName, getCipExtendedStatusText, getCipState, getCipStateText, getCipStatus, getCipStatusText, getDriverName, getDriverVersion, getEtherNetIpPort, getEtherNetIpProxyId, getFlags, getFrontRackImage, getHardwareProductCode, getHardwareProductName, getHardwareProductVersion, getHardwareSerialNumber, getHardwareVendor, getHypervisorInformation, getHypervisorType, getIcmpAverageResponseTime, getIcmpLastResponseTime, getIcmpMaxResponseTime, getIcmpMinResponseTime, getIcmpPacketLoss, getIcmpProxyId, getIcmpStatCollectionMode, getIcmpTargets, getIfXTablePolicy, getInterfaceByIndex, getLastAgentCommTime, getLldpNodeId, getNodeSubType, getNodeType, getPhysicalContainerId, getPlatformName, getPollerNodeId, getPortNumberingScheme, getPortRowCount, getPrimaryIP, getPrimaryMAC, getPrimaryName, getRackHeight, getRackOrientation, getRackPosition, getRearRackImage, getRequredPollCount, getSnmpAuthMethod, getSnmpAuthName, getSnmpAuthPassword, getSnmpOID, getSnmpPort, getSnmpPrivMethod, getSnmpPrivPassword, getSnmpProxyId, getSnmpSysContact, getSnmpSysLocation, getSnmpSysName, getSnmpVersion, getSshLogin, getSshPassword, getSshProxyId, getStateFlags, getStrings, getSystemDescription, getVrrpVersion, getZoneId, getZoneName, hasAgent, hasSnmpAgent, is8021xSupported, isAgentIfXCountersSupported, isAgentReachable, isBridge, isEntityMibSupported, isIcmpStatisticsCollected, isIfXTableSupported, isManagementServer, isPingOnPrimaryIPEnabled, isSnmpReachable, isSnmpSettingsLocked, isSpanningTreeSupported, isVirtual, isVrrpSupported, isWirelessController
-
Methods inherited from class org.netxms.client.objects.DataCollectionTarget
getOverviewDciData, getTooltipDciData
-
Methods inherited from class org.netxms.client.objects.AbstractObject
addString, getAccessList, getAllChildren, getAllChildren, getAllParents, getAllParents, getBackupZoneProxyId, getChildIdList, getChildren, getChildrenAsArray, getComments, getCreationTime, getCustomAttribute, getCustomAttributes, getCustomAttributeValue, getDashboards, getDrillDownObjectId, getEffectiveRights, getFixedPropagatedStatus, getGeolocation, getGuid, getImage, getModuleData, getObjectClass, getObjectId, getObjectName, getParentCount, getParentIdList, getParents, getParentsAsArray, getPostalAddress, getPrimaryZoneProxyId, getResponsibleUsers, getStatus, getStatusCalculationMethod, getStatusPropagationMethod, getStatusShift, getStatusSingleThreshold, getStatusThresholds, getStatusTransformation, getTrustedNodes, getUrls, hasAccessibleChildren, hasChildren, hashCode, hasParents, hasUrls, isChildOf, isChildOf, isDefaultImage, isDeleted, isDirectChildOf, isDirectParentOf, isInheritAccessRights, isInMaintenanceMode, isParentOf, isParentOf, setSession
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.netxms.client.objects.ElementForPhysicalPlacment
getObjectId, getObjectName, getStatus
-
Methods inherited from interface org.netxms.client.objects.PollingTarget
getObjectId, getObjectName
-
-
-
-
Constructor Detail
-
Node
public Node(long id, NXCSession session)Create new node object.- Parameters:
id-session-
-
Node
public Node(org.netxms.base.NXCPMessage msg, NXCSession session)Create node object from NXCP message.- Parameters:
msg-session-
-
-
Method Detail
-
getObjectClassName
public String getObjectClassName()
- Overrides:
getObjectClassNamein classAbstractObject- Returns:
- Name of NetXMS object's class
-
isAllowedOnMap
public boolean isAllowedOnMap()
Description copied from class:AbstractObjectIf this method returns true object is allowed to be on custom network map. Default implementation always returns false.- Overrides:
isAllowedOnMapin classAbstractObject- Returns:
- true if object is allowed to be on custom network map
-
isAlarmsVisible
public boolean isAlarmsVisible()
Description copied from class:AbstractObjectIf this method returns true object can have visible alarms. Default implementation always returns false.- Overrides:
isAlarmsVisiblein classAbstractObject- Returns:
- true if object can contain visible alarms
- See Also:
AbstractObject.isAlarmsVisible()
-
canHaveAgent
public boolean canHaveAgent()
Description copied from interface:PollingTargetIdentify if this object can have NetXMS agent.- Returns:
- true if this object can have NetXMS agent
- See Also:
PollingTarget.canHaveAgent()
-
canHaveInterfaces
public boolean canHaveInterfaces()
Description copied from interface:PollingTargetIdentify if this object can have network interfaces.- Returns:
- true if this object can have network interfaces
- See Also:
PollingTarget.canHaveInterfaces()
-
canHavePollerNode
public boolean canHavePollerNode()
Description copied from interface:PollingTargetIdentify if this object can have poller node property.- Returns:
- true if this object can have poller node property
- See Also:
PollingTarget.canHavePollerNode()
-
canUseEtherNetIP
public boolean canUseEtherNetIP()
Description copied from interface:PollingTargetIdentify if this object can use EtherNet/IP for communications.- Returns:
- true if this object can use EtherNet/IP for communications
- See Also:
PollingTarget.canUseEtherNetIP()
-
-