|
||||||||||
| 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.NotificationMessage
Contains all of the fields that one would find in a BGP Notification message.
| Field Summary | |
int |
error_code
Indicates the type of error which occurred. |
int |
error_subcode
Provides more specific information about the nature of the error. |
| Fields inherited from class SSF.OS.BGP4.Comm.Message |
KEEPALIVE, nh, NOTICEUPDATE, NOTIFICATION, OCTETS_IN_HEADER, OPEN, RUN, STARTSTOP, TIMEOUT, TRANSPORT, typ, typeNames, UPDATE, version |
| Constructor Summary | |
NotificationMessage()
Empty constructor. |
|
NotificationMessage(java.lang.String nh,
int ec,
int esc)
Initializes member data. |
|
| Method Summary | |
int |
body_bytecount()
Returns the number of octets (bytes) in the message body. |
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 |
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 error_code
public int error_subcode
| Constructor Detail |
public NotificationMessage()
public NotificationMessage(java.lang.String nh,
int ec,
int esc)
nh - The NH part of the NHI address of the sender of this message.ec - The error code that this message will indicate.| Method Detail |
public int body_bytecount()
body_bytecount in class Message
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 | |||||||||