public class BgpNodeLSIdentifier
extends java.lang.Object
implements java.lang.Comparable<java.lang.Object>
| Constructor and Description |
|---|
BgpNodeLSIdentifier()
Resets fields.
|
BgpNodeLSIdentifier(NodeDescriptors nodeDescriptors)
Constructor to initialize fields.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object obj) |
NodeDescriptors |
getNodedescriptors()
Returns node descriptors.
|
int |
hashCode() |
static BgpNodeLSIdentifier |
parseLocalNodeDescriptors(org.jboss.netty.buffer.ChannelBuffer cb,
byte protocolId)
Parse local node descriptors.
|
java.lang.String |
toString() |
public BgpNodeLSIdentifier()
public BgpNodeLSIdentifier(NodeDescriptors nodeDescriptors)
nodeDescriptors - local/remote node descriptorpublic static BgpNodeLSIdentifier parseLocalNodeDescriptors(org.jboss.netty.buffer.ChannelBuffer cb, byte protocolId) throws BgpParseException
cb - ChannelBufferprotocolId - protocol identifierBgpParseException - while parsing local node descriptorspublic NodeDescriptors getNodedescriptors()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparable<java.lang.Object>