Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.chat |
TODO describe me.
|
org.jivesoftware.smack.chat2 |
Smack's new improved API for 1:1 chats.
|
org.jivesoftware.smack.filter |
Allows
StanzaCollector and StanzaListener instances to filter for stanzas with particular attributes. |
org.jivesoftware.smack.packet |
XML stanzas and extension elements that are part of the XMPP protocol.
|
org.jivesoftware.smack.util |
TODO describe me.
|
org.jivesoftware.smackx.address |
Smack's API for XEP-33: Extended Stanza Addressing.
|
org.jivesoftware.smackx.blocking.element |
Blocking command elements.
|
org.jivesoftware.smackx.bob.element |
Bits of Binary elements.
|
org.jivesoftware.smackx.carbons |
Smack's API for XEP-280: Message Carbons.
|
org.jivesoftware.smackx.carbons.packet |
Stanzas and extension elements for XEP-280: Message Carbons.
|
org.jivesoftware.smackx.chat_markers.element |
Chat Markers elements (XEP-0333).
|
org.jivesoftware.smackx.chatstates |
TODO describe me.
|
org.jivesoftware.smackx.geoloc |
TODO describe me.
|
org.jivesoftware.smackx.geoloc.packet |
TODO describe me.
|
org.jivesoftware.smackx.iot.data.element |
Smack's API for XMPP IoT.
|
org.jivesoftware.smackx.iot.data.filter |
Smack's API for XMPP IoT.
|
org.jivesoftware.smackx.iot.provisioning.element |
Smack's API for XMPP IoT.
|
org.jivesoftware.smackx.jiveproperties.packet |
TODO describe me.
|
org.jivesoftware.smackx.mam.element |
Packet classes and interfaces for Message Archive Management (MAM) XEP-0313.
|
org.jivesoftware.smackx.mam.filter |
Filters of Message Archive Management (MAM) XEP-0313.
|
org.jivesoftware.smackx.message_correct.element |
XMPP stream elements for Last Message Correction as defined in XEP-0308.
|
org.jivesoftware.smackx.muc |
Classes and Interfaces that implement Multi-User Chat (MUC) as defined in XEP-45.
|
org.jivesoftware.smackx.muclight |
Classes and Interfaces that implement Multi-User Chat Light (MUC Light).
|
org.jivesoftware.smackx.muclight.element |
Multi-User Chat Light (MUC Light) elements.
|
org.jivesoftware.smackx.offline |
TODO describe me.
|
org.jivesoftware.smackx.pep |
TODO describe me.
|
org.jivesoftware.smackx.push_notifications.element |
Push Notifications elements (XEP-0357).
|
org.jivesoftware.smackx.receipts |
TODO describe me.
|
org.jivesoftware.smackx.xevent |
TODO describe me.
|
org.jivesoftware.smackx.xhtmlim |
TODO describe me.
|
org.jivesoftware.smackx.xhtmlim.packet |
TODO describe me.
|
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)
Deprecated.
Sends a message to the other chat participant.
|
Modifier and Type | Method and Description |
---|---|
void |
IncomingChatMessageListener.newIncomingMessage(org.jxmpp.jid.EntityBareJid from,
Message message,
Chat chat) |
void |
OutgoingChatMessageListener.newOutgoingMessage(org.jxmpp.jid.EntityBareJid to,
Message message,
Chat chat) |
void |
Chat.send(Message message) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ThreadFilter.acceptSpecific(Message message) |
protected boolean |
MessageWithBodiesFilter.acceptSpecific(Message message) |
protected boolean |
MessageTypeFilter.acceptSpecific(Message message) |
protected boolean |
MessageWithSubjectFilter.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 BlockedErrorExtension |
BlockedErrorExtension.from(Message message) |
static boolean |
BlockedErrorExtension.isInside(Message message)
Check if a message contains a BlockedErrorExtension, which means that a
message was blocked because the JID blocked the sender, and that was
reflected back as an error message.
|
Modifier and Type | Method and Description |
---|---|
static BoBExtension |
BoBExtension.from(Message message) |
Modifier and Type | Method and Description |
---|---|
static void |
CarbonManager.disableCarbons(Message msg)
Deprecated.
|
void |
CarbonCopyReceivedListener.onCarbonCopyReceived(CarbonExtension.Direction direction,
Message carbonCopy,
Message wrappingMessage)
Invoked when a new carbon copy was received.
|
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 |
---|---|
static ChatMarkersElements.MarkableExtension |
ChatMarkersElements.MarkableExtension.from(Message message) |
static ChatMarkersElements.ReceivedExtension |
ChatMarkersElements.ReceivedExtension.from(Message message) |
static ChatMarkersElements.DisplayedExtension |
ChatMarkersElements.DisplayedExtension.from(Message message) |
static ChatMarkersElements.AcknowledgedExtension |
ChatMarkersElements.AcknowledgedExtension.from(Message message) |
Modifier and Type | Method and Description |
---|---|
void |
ChatStateListener.stateChanged(Chat chat,
ChatState state,
Message message)
Fired when the state of a chat with another user changes.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
GeoLocationManager.isGeoLocationMessage(Message message)
Returns true if the message contains a GeoLocation extension.
|
Modifier and Type | Method and Description |
---|---|
static GeoLocation |
GeoLocation.from(Message message) |
Modifier and Type | Method and Description |
---|---|
static IoTFieldsExtension |
IoTFieldsExtension.from(Message message) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
IoTFieldsExtensionFilter.acceptSpecific(Message message) |
Modifier and Type | Method and Description |
---|---|
static Friend |
Friend.from(Message message) |
static Unfriend |
Unfriend.from(Message message) |
Modifier and Type | Method and Description |
---|---|
static JivePropertiesExtension |
JivePropertiesExtension.from(Message message)
Return a Jive properties extensions of the given message.
|
Modifier and Type | Method and Description |
---|---|
static MamElements.MamResultExtension |
MamElements.MamResultExtension.from(Message message) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
MamResultFilter.acceptSpecific(Message message) |
Modifier and Type | Method and Description |
---|---|
static MessageCorrectExtension |
MessageCorrectExtension.from(Message message) |
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 |
InvitationRejectionListener.invitationDeclined(org.jxmpp.jid.EntityBareJid invitee,
String reason,
Message message,
MUCUser.Decline rejection)
Called when the invitee declines the invitation.
|
void |
InvitationListener.invitationReceived(XMPPConnection conn,
MultiUserChat room,
org.jxmpp.jid.EntityJid inviter,
String reason,
String password,
Message message,
MUCUser.Invite invitation)
Called when the an invitation to join a MUC room is received.
|
void |
MultiUserChat.invite(Message message,
org.jxmpp.jid.EntityBareJid 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 |
---|---|
Message |
MultiUserChatLight.createMessage()
Creates a new Message to send to the chat room.
|
Message |
MultiUserChatLight.nextMessage()
Returns the next available message in the chat.
|
Message |
MultiUserChatLight.nextMessage(long timeout)
Returns the next available message in the chat.
|
Message |
MultiUserChatLight.pollMessage()
Polls for and returns the next message.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiUserChatLight.sendMessage(Message message)
Sends a Message to the chat room.
|
Modifier and Type | Method and Description |
---|---|
static MUCLightElements.AffiliationsChangeExtension |
MUCLightElements.AffiliationsChangeExtension.from(Message message) |
static MUCLightElements.ConfigurationsChangeExtension |
MUCLightElements.ConfigurationsChangeExtension.from(Message message) |
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 |
---|---|
void |
PEPListener.eventReceived(org.jxmpp.jid.EntityBareJid from,
EventElement event,
Message message)
Called when PEP events are received as part of a presence subscribe or message filter.
|
Modifier and Type | Method and Description |
---|---|
static PushNotificationsElements.RemoteDisablingExtension |
PushNotificationsElements.RemoteDisablingExtension.from(Message message) |
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) |