|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.ProtocolMessage
|
+--SSF.OS.BGP4.Comm.Message
|
+--SSF.OS.BGP4.Comm.StartStopMessage
Message from the system or a system operator to either initiate or discontinue a BGP connection with a particular (potential) neighbor/peer.
| Field Summary | |
java.lang.String |
nh
The NHI prefix of the neighbor/peer whose connection to whom this message applies. |
int |
ss_type
Whether this is a start or stop message. |
| Fields inherited from class SSF.OS.BGP4.Comm.Message |
KEEPALIVE, NOTICEUPDATE, NOTIFICATION, OCTETS_IN_HEADER, OPEN, RUN, STARTSTOP, TIMEOUT, TRANSPORT, typ, typeNames, UPDATE, version |
| Constructor Summary | |
StartStopMessage()
Empty constructor. |
|
StartStopMessage(int typ,
java.lang.String nhipre)
Initialize the message. |
|
| Method Summary | |
void |
readExternal(java.io.ObjectInput in)
Reads the contents of this object from a serialization stream. |
void |
writeExternal(java.io.ObjectOutput out)
Writes the contents of this object to a serialization stream. |
| Methods inherited from class SSF.OS.BGP4.Comm.Message |
body_bytecount, bytecount, header_bytecount, toString, type2str, version |
| Methods inherited from class SSF.OS.ProtocolMessage |
carryPayload, copy, dropHeader, dropPayload, frombytes, fromVersion, payload, previous, size, tobytes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int ss_type
public java.lang.String nh
| Constructor Detail |
public StartStopMessage()
public StartStopMessage(int typ,
java.lang.String nhipre)
typ - The type of the message (start or stop).nhipre - The NHI prefix of the neighbor/peer whose connection
this message applies to.| Method Detail |
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class Messagejava.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 Messagejava.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 | |||||||||