|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.joram.shared.client.AbstractJmsRequest
org.objectweb.joram.shared.client.ProducerMessages
A ProducerMessages instance is sent by a
MessageProducer when sending messages.
| Field Summary |
| Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
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. |
java.util.Vector |
getMessages()
Returns the produced messages. |
void |
setMessage(Message msg)
set a message to deliver. |
java.util.Hashtable |
soapCode()
Transforms this request into a hashtable of primitive values that can be vehiculated through the SOAP protocol. |
static java.lang.Object |
soapDecode(java.util.Hashtable h)
Transforms a hastable of primitive values into a ProducerMessages request. |
java.lang.String |
toString()
|
| Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
getKey, getRequestId, getTarget, setRequestId, setTarget |
| 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 |
public void addMessage(Message msg)
public void setMessage(Message msg)
public void addMessages(java.util.Vector msgs)
public java.util.Vector getMessages()
public java.util.Hashtable soapCode()
soapCode in class AbstractJmsRequestpublic static java.lang.Object soapDecode(java.util.Hashtable h)
ProducerMessages request.
public java.lang.String toString()
toString in class AbstractJmsRequest
|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||