|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.BGP4.Path.Attribute
|
+--SSF.OS.BGP4.Path.OriginatorID
The originator ID path attribute. It records the IP address identifier of the router that originated the route into the IBGP mesh. It is optional and non-transitive.
| Field Summary | |
static java.lang.String |
dmlname
The name of the path attribute as a DML attribute. |
IPaddress |
id
The ID of the originating router. |
static java.lang.String |
name
The name of the attribute as a string. |
static java.lang.String |
nhidmlname
The name of the NHI form of the path attribute as a DML attribute. |
static int |
TYPECODE
The originator ID path attribute type code. |
| Fields inherited from class SSF.OS.BGP4.Path.Attribute |
dmlnames, MAX_TYPECODE, MIN_TYPECODE, names, nhidmlnames, undefined |
| Constructor Summary | |
OriginatorID()
Empty constructor. |
|
OriginatorID(IPaddress ipa)
Constructs an originator ID path attribute with the given router ID. |
|
| Method Summary | |
int |
bytecount()
Returns the number of octets (bytes) needed to represent this originator ID attribute in an update message. |
Attribute |
copy()
Constructs and returns a copy of the attribute. |
boolean |
equals(Attribute attrib)
Determines whether or not this path attribute is equivalent to another. |
boolean |
opt()
Returns whether the path attribute is optional (true) or well-known (false). |
boolean |
partial()
Returns whether or not the information contained in the optional transitive attribute is partial (true) or complete (false). |
void |
readExternal(java.io.DataInput in)
Reads the contents of this object from a serialization stream. |
void |
readExternal(java.io.ObjectInput in)
|
java.lang.String |
toString()
Returns this path attribute as a string. |
boolean |
trans()
Returns whether an optional attribute is transitive (true) or non-transitive (false). |
void |
writeExternal(java.io.DataOutput out)
Writes the contents of this object to a serialization stream. |
void |
writeExternal(java.io.ObjectOutput out)
Writes the contents of this object to a data stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int TYPECODE
public static final java.lang.String name
public static final java.lang.String dmlname
public static final java.lang.String nhidmlname
public IPaddress id
| Constructor Detail |
public OriginatorID()
public OriginatorID(IPaddress ipa)
ipa - The IP address ID of the originating router.| Method Detail |
public Attribute copy()
copy in class Attributepublic final boolean opt()
Attribute
opt in class Attributepublic final boolean trans()
Attribute
trans in class Attributepublic final boolean partial()
Attribute
partial in class Attributepublic int bytecount()
bytecount in class Attributepublic boolean equals(Attribute attrib)
equals in class Attributeattrib - A path attribute to compare to this one.
public final java.lang.String toString()
toString in class java.lang.Object
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
Attribute
writeExternal in interface java.io.ExternalizablewriteExternal in class Attributejava.io.IOException - if there's an error writing the data
public void writeExternal(java.io.DataOutput out)
throws java.io.IOException
writeExternal in class Attributejava.io.IOException - if there's an error writing the data
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class Attributejava.io.IOException
java.lang.ClassNotFoundException
public void readExternal(java.io.DataInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in class Attributejava.io.IOException - if there's an error reading in the data
java.lang.ClassNotFoundException - if a class name is unrecognized
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||