Package org.jivesoftware.smackx.address
Class MultipleRecipientInfo
java.lang.Object
org.jivesoftware.smackx.address.MultipleRecipientInfo
MultipleRecipientInfo keeps information about the multiple recipients extension included
in a received packet. Among the information we can find the list of TO and CC addresses.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the list ofMultipleAddresses.Address
that were the secondary recipients of the packet.Returns the address to which all replies are requested to be sent ornull
if no specific address was provided.Returns the JID of a MUC room to which responses should be sent ornull
if no specific address was provided.Returns the list ofMultipleAddresses.Address
that were the primary recipients of the packet.boolean
Returns true if the received stanza should not be replied.
-
Method Details
-
getTOAddresses
Returns the list ofMultipleAddresses.Address
that were the primary recipients of the packet.- Returns:
- list of primary recipients of the packet.
-
getCCAddresses
Returns the list ofMultipleAddresses.Address
that were the secondary recipients of the packet.- Returns:
- list of secondary recipients of the packet.
-
getReplyRoom
Returns the JID of a MUC room to which responses should be sent ornull
if no specific address was provided. When no specific address was provided then the reply can be sent to any or all recipients. Otherwise, the user should join the specified room and send the reply to the room.- Returns:
- the JID of a MUC room to which responses should be sent or
null
if no specific address was provided.
-
shouldNotReply
Returns true if the received stanza should not be replied. UseMultipleRecipientManager.reply(org.jivesoftware.smack.XMPPConnection, org.jivesoftware.smack.packet.Message, org.jivesoftware.smack.packet.Message)
to send replies.- Returns:
- true if the received stanza should not be replied.
-
getReplyAddress
Returns the address to which all replies are requested to be sent ornull
if no specific address was provided. When no specific address was provided then the reply can be sent to any or all recipients.- Returns:
- the address to which all replies are requested to be sent or
null
if no specific address was provided.
-