|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.slamd.message.Message
com.sun.slamd.message.ServerShutdownMessage
This class defines a message type that the server uses to indicate that it is shutting down and that the connection to the client will be terminated.
| Field Summary |
| Constructor Summary | |
ServerShutdownMessage(int messageID)
Creates a new message type that the server uses to indicate that it is shutting down. |
|
| Method Summary | |
static ServerShutdownMessage |
decodeShutdown(int messageID,
ASN1Element element)
Decodes the provided ASN.1 element as a server shutdown message. |
ASN1Element |
encode()
Encodes this message into an ASN.1 element. |
java.lang.String |
toString()
Retrieves a string representation of this message. |
| Methods inherited from class com.sun.slamd.message.Message |
decode, getMessageID, getMessageType, send |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ServerShutdownMessage(int messageID)
messageID - The message ID for this message.| Method Detail |
public java.lang.String toString()
toString in class Message
public static ServerShutdownMessage decodeShutdown(int messageID,
ASN1Element element)
throws SLAMDException
messageID - The message ID to use for this message.element - The ASN.1 server shutdown element.
SLAMDException - If the provided ASN.1 element cannot be decoded
as a server shutdown message.public ASN1Element encode()
ServerShutdown ::= [APPLICATION 10] NULL
encode in class Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||