|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XQEnvelope
An XQEnvelope
combines an XQMessage
along w/
a set of XQAddress
es to which this message should be sent.
XQEnvelopeFactory
,
XQMessage
,
XQAddress
Method Summary | |
---|---|
void |
addAddress(XQAddress address)
Adds an address to the set of "To:" addresses. |
void |
addAddresses(java.util.List<XQAddress> addresses)
Adds all of the addresses in a list of addresses to the set of "To:" addresses. |
void |
clearAddresses()
Clears the set of "To:" addresses for this envelope. |
java.util.Iterator<XQAddress> |
getAddresses()
Returns an Iterator containing the "To:" addresses of
this envelope. |
XQMessage |
getMessage()
Returns the message that this envelope contains. |
void |
removeAddress(XQAddress address)
Removes a particular address from the set of "To:" addresses for this envelope. |
void |
setMessage(XQMessage message)
Sets the message for this envelope. |
Methods inherited from interface com.sonicsw.xq.XQCloneable |
---|
clone |
Method Detail |
---|
void setMessage(XQMessage message)
message
- the XQMessage
to setXQMessage getMessage()
XQMessage
in the envelopevoid addAddress(XQAddress address)
address
- an XQAddress
to which this message should
be sentvoid addAddresses(java.util.List<XQAddress> addresses)
addresses
- a java.util.List
of
XQAddress
es to which this message should be sentjava.util.Iterator<XQAddress> getAddresses()
Iterator
containing the "To:" addresses of
this envelope.
java.util.Iterator
containing the
XQAddress
es to which this message should be sentvoid clearAddresses()
void removeAddress(XQAddress address)
XQAddress
is not found
in the "To:" set, this method has no effect.
address
- the XQAddress
to remove from the list of
addresses to which this message should be sent
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |