|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--comm2j.Message | +--comm2j.DateMessage
DateMessage is the message class used to send and receive date
to/from remote server.
Comm2J
,
Date
Fields inherited from class comm2j.Message |
className, message, messageHasBeenSet |
Constructor Summary | |
DateMessage()
Constructor. |
|
DateMessage(java.util.Date message)
Constructor. |
Method Summary | |
protected void |
setInternalObject(java.lang.Object obj)
Sets the internal object. |
int |
writeMessage(java.io.OutputStream os)
Send current message throw given OutputStream |
Methods inherited from class comm2j.Message |
getMessage, getName, isMessageSet, readHeader, readMessage, setMessage, toString, writeHeader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DateMessage()
public DateMessage(java.util.Date message)
message
- Initial dateMethod Detail |
public int writeMessage(java.io.OutputStream os) throws java.io.IOException
writeMessage
in class Message
os
- The OutputStream used to read datajava.io.IOException
- if an error occouredprotected void setInternalObject(java.lang.Object obj)
setInternalObject
in class Message
obj
- Internal object to be set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |