org.netxms.client.objects
Class Interface

java.lang.Object
  extended by org.netxms.client.objects.GenericObject
      extended by org.netxms.client.objects.Interface

public class Interface
extends GenericObject

Network interface object


Field Summary
 
Fields inherited from class org.netxms.client.objects.GenericObject
OBJECT_AGENTPOLICY, OBJECT_AGENTPOLICY_CONFIG, OBJECT_CLUSTER, OBJECT_CONDITION, OBJECT_CONTAINER, OBJECT_GENERIC, OBJECT_INTERFACE, OBJECT_NETWORK, OBJECT_NETWORKMAP, OBJECT_NETWORKMAPGROUP, OBJECT_NETWORKMAPROOT, 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
Interface(NXCPMessage msg, NXCSession session)
           
 
Method Summary
 int getIfIndex()
           
 int getIfType()
           
 MacAddress getMacAddress()
           
 java.lang.String getObjectClassName()
           
protected  long getPeerInterfaceId()
           
protected  long getPeerNodeId()
           
 int getPort()
           
 int getRequiredPollCount()
           
 int getSlot()
           
 java.net.InetAddress getSubnetMask()
           
 
Methods inherited from class org.netxms.client.objects.GenericObject
getAccessList, getChilds, getChildsAsArray, getComments, getCustomAttributes, getGeolocation, getGuid, getNumberOfChilds, getNumberOfParents, getObjectClass, getObjectId, getObjectName, getParents, getParentsAsArray, getPrimaryIP, getStatus, getTrustedNodes, hashCode, isChildOf, isChildOf, isDeleted, isDirectChildOf, isInheritAccessRights
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interface

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

getSubnetMask

public java.net.InetAddress getSubnetMask()
Returns:
Interface subnet mask

getIfIndex

public int getIfIndex()
Returns:
Interface index

getIfType

public int getIfType()
Returns:
Interface type

getMacAddress

public MacAddress getMacAddress()
Returns:
Interface MAC address

getRequiredPollCount

public int getRequiredPollCount()
Returns:
Number of polls required to change interface status

getObjectClassName

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

getSlot

public int getSlot()
Returns:
the slot

getPort

public int getPort()
Returns:
the port

getPeerNodeId

protected long getPeerNodeId()
Returns:
the peerNodeId

getPeerInterfaceId

protected long getPeerInterfaceId()
Returns:
the peerInterfaceId


Copyright © 2011. All Rights Reserved.