|
Joram 5.0.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.kclient.Message
public class Message
The Message class defines the Joram's message structure. Joram's messages are composed of the following parts:
Field Summary | |
---|---|
static int |
BYTES
A bytes message carries an array of bytes. |
static int |
deletedDestFlag
|
static int |
expiredFlag
|
static int |
MAP
A map message carries an hashtable. |
static int |
notWriteableFlag
|
static int |
OBJECT
An object message carries a serializable object. |
static int |
persistentFlag
|
static int |
redeliveredFlag
|
static int |
SIMPLE
A simple message carries an empty body. |
static int |
STREAM
A stream message carries a bytes stream. |
static int |
TEXT
A text message carries a String body. |
static int |
undeliverableFlag
|
Constructor Summary | |
---|---|
Message()
Non API method, should be hidden. |
Method Summary | |
---|---|
void |
readFrom(InputXStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
writeTo(OutputXStream os)
The object implements the writeTo method to write its contents to the output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SIMPLE
public static final int TEXT
public static final int OBJECT
public static final int MAP
public static final int STREAM
public static final int BYTES
public static final int redeliveredFlag
public static final int persistentFlag
public static final int deletedDestFlag
public static final int expiredFlag
public static final int notWriteableFlag
public static final int undeliverableFlag
Constructor Detail |
---|
public Message()
Message
.
Method Detail |
---|
public void writeTo(OutputXStream os) throws java.io.IOException
writeTo
in interface Streamable
os
- the stream to write the object to
java.io.IOException
public void readFrom(InputXStream is) throws java.io.IOException
readFrom
in interface Streamable
is
- the stream to read data from in order to restore the object
java.io.IOException
|
Joram 5.0.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |