Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.chat | |
org.jivesoftware.smack.filter |
Allows
PacketCollector and PacketListener instances to filter for packets with particular attributes. |
org.jivesoftware.smack.packet |
XML packets that are part of the XMPP protocol.
|
org.jivesoftware.smack.util |
Utility classes.
|
org.jivesoftware.smackx.address | |
org.jivesoftware.smackx.carbons | |
org.jivesoftware.smackx.carbons.packet | |
org.jivesoftware.smackx.muc |
Classes and Interfaces that implement Multi-User Chat (MUC).
|
org.jivesoftware.smackx.offline | |
org.jivesoftware.smackx.receipts | |
org.jivesoftware.smackx.xevent | |
org.jivesoftware.smackx.xhtmlim | |
org.jivesoftware.smackx.xhtmlim.packet |
Modifier and Type | Method and Description |
---|---|
void |
MessageListener.processMessage(Message message) |
Modifier and Type | Method and Description |
---|---|
void |
ChatMessageListener.processMessage(Chat chat,
Message message) |
void |
Chat.sendMessage(Message message)
Sends a message to the other chat participant.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
MessageWithBodiesFilter.acceptSpecific(Message message) |
protected boolean |
MessageTypeFilter.acceptSpecific(Message message) |
protected boolean |
MessageWithSubjectFilter.acceptSpecific(Message message) |
protected boolean |
ThreadFilter.acceptSpecific(Message message) |
Modifier and Type | Method and Description |
---|---|
Message |
Message.clone()
Creates and returns a copy of this message stanza.
|
Constructor and Description |
---|
Message(Message other)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
static Message |
PacketParserUtils.parseMessage(org.xmlpull.v1.XmlPullParser parser)
Parses a message packet.
|
Modifier and Type | Method and Description |
---|---|
static void |
MultipleRecipientManager.reply(XMPPConnection connection,
Message original,
Message reply)
Sends a reply to a previously received stanza(/packet) that was sent to multiple recipients.
|
Modifier and Type | Method and Description |
---|---|
static void |
CarbonManager.disableCarbons(Message msg)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
CarbonExtension.Private.addTo(Message message)
Marks a message "private", so that it will not be carbon-copied, by adding private packet
extension to the message.
|
static CarbonExtension |
CarbonExtension.from(Message msg)
Obtain a Carbon from a message, if available.
|
static CarbonExtension |
CarbonExtension.getFrom(Message msg)
Deprecated.
use
CarbonExtension.from(Message) instead |
Modifier and Type | Method and Description |
---|---|
Message |
MultiUserChat.createMessage()
Creates a new Message to send to the chat room.
|
Message |
MultiUserChat.nextMessage()
Returns the next available message in the chat.
|
Message |
MultiUserChat.nextMessage(long timeout)
Returns the next available message in the chat.
|
Message |
MultiUserChat.pollMessage()
Polls for and returns the next message, or null if there isn't
a message immediately available.
|
Modifier and Type | Method and Description |
---|---|
void |
InvitationListener.invitationReceived(XMPPConnection conn,
MultiUserChat room,
String inviter,
String reason,
String password,
Message message)
Called when the an invitation to join a MUC room is received.
|
void |
MultiUserChat.invite(Message message,
String user,
String reason)
Invites another user to the room in which one is an occupant using a given Message.
|
void |
MultiUserChat.sendMessage(Message message)
Sends a Message to the chat room.
|
Modifier and Type | Method and Description |
---|---|
List<Message> |
OfflineMessageManager.getMessages()
Returns a List of Messages with all the offline Messages of the user.
|
List<Message> |
OfflineMessageManager.getMessages(List<String> nodes)
Returns a List of the offline Messages whose stamp matches the specified
request.
|
Modifier and Type | Method and Description |
---|---|
static Message |
DeliveryReceiptManager.receiptMessageFor(Message messageWithReceiptRequest)
Create and return a new message including a delivery receipt extension for the given message.
|
Modifier and Type | Method and Description |
---|---|
static String |
DeliveryReceiptManager.addDeliveryReceiptRequest(Message m)
Deprecated.
|
static String |
DeliveryReceiptRequest.addTo(Message message)
Add a delivery receipt request to an outgoing packet.
|
static DeliveryReceipt |
DeliveryReceipt.from(Message message)
Get the
DeliveryReceipt extension of the message, if any. |
static DeliveryReceipt |
DeliveryReceipt.getFrom(Message p)
Deprecated.
use
DeliveryReceipt.from(Message) instead |
static boolean |
DeliveryReceiptManager.hasDeliveryReceiptRequest(Message message)
Test if a message requires a delivery receipt.
|
static Message |
DeliveryReceiptManager.receiptMessageFor(Message messageWithReceiptRequest)
Create and return a new message including a delivery receipt extension for the given message.
|
Modifier and Type | Method and Description |
---|---|
static void |
MessageEventManager.addNotificationsRequests(Message message,
boolean offline,
boolean delivered,
boolean displayed,
boolean composing)
Adds event notification requests to a message.
|
Modifier and Type | Method and Description |
---|---|
static void |
XHTMLManager.addBody(Message message,
XHTMLText xhtmlText)
Adds an XHTML body to the message.
|
static List<CharSequence> |
XHTMLManager.getBodies(Message message)
Returns an Iterator for the XHTML bodies in the message.
|
static boolean |
XHTMLManager.isXHTMLMessage(Message message)
Returns true if the message contains an XHTML extension.
|
Modifier and Type | Method and Description |
---|---|
static XHTMLExtension |
XHTMLExtension.from(Message message) |