org.netxms.client
Class NXCInterface

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

public class NXCInterface
extends NXCObject

Author:
Victor

Field Summary
 
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
NXCInterface(NXCPMessage msg, NXCSession session)
           
 
Method Summary
 int getIfIndex()
           
 int getIfType()
           
 byte[] getMacAddress()
           
 java.lang.String getObjectClassName()
           
 int getRequiredPollCount()
           
 java.net.InetAddress getSubnetMask()
           
 
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
 

Constructor Detail

NXCInterface

public NXCInterface(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 byte[] 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 NXCObject
Returns:
Name of NetXMS object's class


Copyright © 2009. All Rights Reserved.