|
Joram 5.0.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.kclient.AbstractMessage
org.objectweb.joram.kclient.AbstractRequest
org.objectweb.joram.kclient.ProducerMessages
public final class ProducerMessages
A ProducerMessages
instance is sent by a
MessageProducer
when sending messages.
Field Summary |
---|
Fields inherited from class org.objectweb.joram.kclient.AbstractRequest |
---|
requestId, target |
Constructor Summary | |
---|---|
ProducerMessages(java.lang.String dest)
Constructs a ProducerMessages instance. |
|
ProducerMessages(java.lang.String dest,
Message msg)
Constructs a ProducerMessages instance carrying a single
message. |
Method Summary | |
---|---|
void |
addMessage(Message msg)
Adds a message to deliver. |
void |
addMessages(java.util.Vector msgs)
Adds messages to deliver. |
protected int |
getClassId()
|
void |
setAsyncSend(boolean b)
|
void |
writeTo(OutputXStream os)
The object implements the writeTo method to write its contents to the output stream. |
Methods inherited from class org.objectweb.joram.kclient.AbstractRequest |
---|
getRequestId, readFrom, setRequestId, toString |
Methods inherited from class org.objectweb.joram.kclient.AbstractMessage |
---|
read, toString, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProducerMessages(java.lang.String dest)
ProducerMessages
instance.
dest
- Name of the destination the messages are sent to.public ProducerMessages(java.lang.String dest, Message msg)
ProducerMessages
instance carrying a single
message.
dest
- Name of the destination the messages are sent to.msg
- Message to carry.Method Detail |
---|
protected int getClassId()
getClassId
in class AbstractMessage
public void setAsyncSend(boolean b)
public void addMessage(Message msg)
public void addMessages(java.util.Vector msgs)
public void writeTo(OutputXStream os) throws java.io.IOException
writeTo
in interface Streamable
writeTo
in class AbstractRequest
os
- the stream to write the object to
java.io.IOException
|
Joram 5.0.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |