Package org.netxms.client.topology
Class VlanInfo
java.lang.Object
org.netxms.client.topology.VlanInfo
Contains information about VLAN
-
Constructor Summary
ConstructorsConstructorDescriptionVlanInfo(NXCPMessage msg, long baseId) Create VLAN information object from NXCP message -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsPort(int chassis, int module, int pic, int port) Check if given port is within VLANgetName()longPort[]getPorts()int
-
Constructor Details
-
VlanInfo
Create VLAN information object from NXCP message- Parameters:
msg- NXCP messagebaseId- base variable id
-
-
Method Details
-
getNextFieldId
public long getNextFieldId()- Returns:
- the nextFieldId
-
getVlanId
public int getVlanId()- Returns:
- the vlanId
-
getName
- Returns:
- the name
-
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
-