Package org.netxms.client.topology
Class HopInfo
java.lang.Object
org.netxms.client.topology.HopInfo
Information about single hop in network path
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionHopInfo(int index) Create "invalid" hop info objectprotectedHopInfo(NXCPMessage msg, long baseId, int index) Create hop info object from NXCP message -
Method Summary
-
Field Details
-
ROUTE
public static final int ROUTE- See Also:
-
VPN
public static final int VPN- See Also:
-
PROXY
public static final int PROXY- See Also:
-
DUMMY
public static final int DUMMY- See Also:
-
-
Constructor Details
-
HopInfo
public HopInfo(int index) Create "invalid" hop info object- Parameters:
index- hop index
-
HopInfo
Create hop info object from NXCP message- Parameters:
msg- NXCP messagebaseId- base variable IDindex- hop index
-
-
Method Details
-
getIndex
public int getIndex()- Returns:
- the index
-
getNodeId
public long getNodeId()- Returns:
- the nodeId
-
getNextHop
- Returns:
- the nextHop
-
getIfIndex
public int getIfIndex()- Returns:
- the ifIndex
-
getType
public int getType()- Returns:
- the isVpn
-
getName
- Returns:
- the name
-