Package org.netxms.client.topology
Class VlanInfo
- java.lang.Object
-
- org.netxms.client.topology.VlanInfo
-
public class VlanInfo extends Object
Contains information about VLAN
-
-
Constructor Summary
Constructors Constructor Description VlanInfo(org.netxms.base.NXCPMessage msg, long baseId)Create VLAN information object from NXCP message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsPort(int chassis, int module, int pic, int port)Check if given port is within VLANStringgetName()longgetNextFieldId()Port[]getPorts()intgetVlanId()
-
-
-
Method Detail
-
getNextFieldId
public long getNextFieldId()
- Returns:
- the nextFieldId
-
getVlanId
public int getVlanId()
- Returns:
- the vlanId
-
getName
public String getName()
- Returns:
- the name
-
getPorts
public Port[] getPorts()
- Returns:
- the ports
-
containsPort
public boolean containsPort(int chassis, int module, int pic, int port)Check if given port is within VLAN- Parameters:
chassis- chassismodule- modulepic- picport- port- Returns:
- if given port is within VLAN
-
-