|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gumbo.net.msg.Message | +--gumbo.net.msg.ascii.AsciiMessage | +--gumbo.net.msg.MsgPingCommand
A command message commanding the target, typically the system server, to respond with a MsgPingStatus message.
Field Summary | |
static java.lang.String |
BODY_VERSION
|
Constructor Summary | |
MsgPingCommand()
|
|
MsgPingCommand(AsciiMessageHead head)
|
Method Summary | |
protected void |
beforeBodyWrite()
Called just before the message body is written. |
java.lang.String |
getBodyVersion()
Gets the version for the message body data format. |
long |
getStartTime()
|
void |
readAsciiBody()
Reads the body of this message from an ASCII message reader. |
void |
setStartTime(long time)
|
java.lang.String |
toBodyString()
Creates a new string representing the contents of the message body for status messages. |
void |
writeAsciiBody()
Writes the body of this message to an ASCII message writer. |
Methods inherited from class gumbo.net.msg.ascii.AsciiMessage |
createAsciiMessage, defaultHead, readAsciiMessage, writeAsciiMessage |
Methods inherited from class gumbo.net.msg.Message |
getHead, getMessageType, setHead, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String BODY_VERSION
Constructor Detail |
public MsgPingCommand()
public MsgPingCommand(AsciiMessageHead head) throws MessageDataException
Method Detail |
public void setStartTime(long time)
public long getStartTime()
public java.lang.String getBodyVersion()
Message
getBodyVersion
in class Message
protected void beforeBodyWrite()
Message
beforeBodyWrite
in class Message
public java.lang.String toBodyString()
Message
toBodyString
in class Message
public void readAsciiBody() throws java.io.IOException, MessageIOException
AsciiMessage
readAsciiBody
in class AsciiMessage
MessageIOException
- Reader not at message body, or message head
format was bad.
java.io.IOException
public void writeAsciiBody() throws java.io.IOException, MessageIOException
AsciiMessage
writeAsciiBody
in class AsciiMessage
MessageIOException
- Writer not at message body, or message head
format was bad.
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |