org.objectweb.joram.shared.client
Class ProducerMessages
- java.io.Serializable
public class ProducerMessages
A ProducerMessages
instance is sent by a
MessageProducer
when sending messages.
- Serialized Form
void | addMessage(Message msg) - Adds a message to deliver.
|
void | addMessages(Vector msgs) - Adds messages to deliver.
|
Vector | getMessages() - Returns the produced messages.
|
void | setMessage(Message msg) - set a message to deliver.
|
Hashtable | soapCode() - Transforms this request into a hashtable of primitive values that can
be vehiculated through the SOAP protocol.
|
static Object | soapDecode(Hashtable h) - Transforms a hastable of primitive values into a
ProducerMessages request.
|
String | toString()
|
ProducerMessages
public ProducerMessages(String dest)
Constructs a ProducerMessages
instance.
dest
- Name of the destination the messages are sent to.
ProducerMessages
public ProducerMessages(String dest,
Message msg)
Constructs a ProducerMessages
instance carrying a single
message.
dest
- Name of the destination the messages are sent to.msg
- Message to carry.
addMessage
public void addMessage(Message msg)
Adds a message to deliver.
addMessages
public void addMessages(Vector msgs)
Adds messages to deliver.
getMessages
public Vector getMessages()
Returns the produced messages.
setMessage
public void setMessage(Message msg)
set a message to deliver.
soapCode
public Hashtable soapCode()
Transforms this request into a hashtable of primitive values that can
be vehiculated through the SOAP protocol.
- soapCode in interface AbstractJmsRequest
soapDecode
public static Object soapDecode(Hashtable h)
Transforms a hastable of primitive values into a
ProducerMessages
request.
- soapDecode in interface AbstractJmsRequest
Copyright B) 2004 Scalagent - All rights reserved