public class IsIsPseudonode extends java.lang.Object implements IgpRouterId, BgpValueType
| Constructor and Description |
|---|
IsIsPseudonode(byte[] isoNodeID,
byte psnIdentifier)
Constructor to initialize isoNodeID.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object o)
Compares two objects.
|
boolean |
equals(java.lang.Object obj) |
byte[] |
getIsoNodeId()
Returns ISO NodeID.
|
byte |
getPsnIdentifier()
Returns PSN Identifier.
|
short |
getType()
Returns the Type of BGP Message.
|
int |
hashCode() |
static IsIsPseudonode |
of(byte[] isoNodeID,
byte psnIdentifier)
Returns object of this class with specified values.
|
static IsIsPseudonode |
read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object of IsIsPseudonode.
|
java.lang.String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer c)
Writes the byte Stream of BGP Message to channel buffer.
|
public static final short TYPE
public static final short LENGTH
public IsIsPseudonode(byte[] isoNodeID,
byte psnIdentifier)
isoNodeID - ISO system-IDpsnIdentifier - PSN identifierpublic static IsIsPseudonode of(byte[] isoNodeID, byte psnIdentifier)
isoNodeID - ISO system-IDpsnIdentifier - PSN identifierpublic byte[] getIsoNodeId()
public byte getPsnIdentifier()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int write(org.jboss.netty.buffer.ChannelBuffer c)
BgpValueTypewrite in interface BgpValueTypec - channel bufferpublic static IsIsPseudonode read(org.jboss.netty.buffer.ChannelBuffer cb)
cb - ChannelBufferpublic short getType()
BgpValueTypegetType in interface BgpValueTypepublic int compareTo(java.lang.Object o)
BgpValueTypecompareTo in interface BgpValueTypeo - objectpublic java.lang.String toString()
toString in class java.lang.Object