Package org.netxms.client.topology
Class Route
java.lang.Object
org.netxms.client.topology.Route
IP route
-
Constructor Details
-
Route
Create route object from NXCP message- Parameters:
msg
- NXCP messagebaseId
- object base id
-
-
Method Details
-
getDestination
- Returns:
- the destination
-
getNextHop
- Returns:
- the nextHop
-
getIfIndex
public int getIfIndex()- Returns:
- the ifIndex
-
getIfName
Get interface name.- Returns:
- interface name
-
getType
public int getType()- Returns:
- the type
-
getMetric
public int getMetric()- Returns:
- the metric
-
getProtocol
- Returns:
- the protocol
-
toString
-