|
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.AbstractMessage
org.objectweb.joram.kclient.AbstractReply
org.objectweb.joram.kclient.ConsumerMessages
public final class ConsumerMessages
A ConsumerMessages
is used by a proxy for sending messages
to a consumer.
Field Summary |
---|
Fields inherited from class org.objectweb.joram.kclient.AbstractReply |
---|
correlationId |
Constructor Summary | |
---|---|
ConsumerMessages()
Constructs an empty ConsumerMessages instance. |
Method Summary | |
---|---|
java.lang.String |
comesFrom()
Returns the name of the queue or the subscription the messages come from. |
protected int |
getClassId()
|
int |
getMessageCount()
|
java.util.Vector |
getMessages()
Returns the messages to deliver. |
boolean |
getQueueMode()
Returns true if the messages come from a queue. |
void |
readFrom(InputXStream is)
The object implements the readFrom method to restore its contents from the input stream. |
Methods inherited from class org.objectweb.joram.kclient.AbstractReply |
---|
getCorrelationId, toString, writeTo |
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 ConsumerMessages()
ConsumerMessages
instance.
Method Detail |
---|
protected int getClassId()
getClassId
in class AbstractMessage
public java.util.Vector getMessages()
public int getMessageCount()
public java.lang.String comesFrom()
public boolean getQueueMode()
true
if the messages come from a queue.
public void readFrom(InputXStream is) throws java.io.IOException
readFrom
in interface Streamable
readFrom
in class AbstractReply
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 |