Package org.netxms.client.topology
Class Port
java.lang.Object
org.netxms.client.topology.Port
Objects of this class represents physical switch ports
-
Constructor Details
-
Port
public Port(long objectId, long ifIndex, int chassis, int module, int pic, int port) - Parameters:
objectId
- object idifIndex
- interface indexchassis
- chassismodule
- modulepic
- physical interface cardport
- port
-
-
Method Details
-
getChassis
public int getChassis()- Returns:
- the chassis
-
getModule
public int getModule()- Returns:
- module number
-
getPIC
public int getPIC()- Returns:
- the pic
-
getPort
public int getPort()- Returns:
- the port
-
getObjectId
public long getObjectId()- Returns:
- the objectId
-
getIfIndex
public long getIfIndex()- Returns:
- the ifIndex
-
toString
-