gov.nist.antd.ospf_te
Class Interface
java.lang.Object
|
+--gov.nist.antd.ospf_te.Interface
- Direct Known Subclasses:
- TEInterface
- public class Interface
- extends java.lang.Object
An OSPF interface. ------ Traffic Engineering Extensions
|
Constructor Summary |
Interface(int t,
int ipa,
int p2pa,
byte mask,
int st,
java.lang.String nh,
java.lang.String asnh,
int areano,
java.lang.String peer_asnh,
int peer_areano,
java.lang.String peernh,
int c)
|
|
Method Summary |
java.lang.String |
toMinString()
Converts the interface to a string using a briefer format than
toString. |
java.lang.String |
toMinString(boolean usenhi)
Converts the interface to a string using a briefer format than
toString. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
typ
public int typ
id
public int id
ipaddr
public int ipaddr
p2paddr
public int p2paddr
ipmask
public byte ipmask
state
public int state
peer
public Host peer
rtrnh
public java.lang.String rtrnh
as_nh
public java.lang.String as_nh
area_num
public int area_num
peer_as_nh
public java.lang.String peer_as_nh
peer_area_num
public int peer_area_num
peer_nh
public java.lang.String peer_nh
cost
public int cost
Interface
public Interface(int t,
int ipa,
int p2pa,
byte mask,
int st,
java.lang.String nh,
java.lang.String asnh,
int areano,
java.lang.String peer_asnh,
int peer_areano,
java.lang.String peernh,
int c)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
toMinString
public java.lang.String toMinString(boolean usenhi)
- Converts the interface to a string using a briefer format than
toString.
- Parameters:
usenhi - Whether or not to use NHI addressing when possible.
- Returns:
- the interface in minimal string format
toMinString
public java.lang.String toMinString()
- Converts the interface to a string using a briefer format than
toString.
- Returns:
- the interface in minimal string format