| Package | Description |
|---|---|
| rocks.xmpp.core.session |
Provides classes related to an XMPP session.
|
| rocks.xmpp.core.stanza |
Provides classes for XML stanza management (message, presence, IQ).
|
| rocks.xmpp.core.stanza.model |
Provides XML Stanzas and Stanza Errors.
|
| rocks.xmpp.core.stanza.model.client | |
| rocks.xmpp.core.stanza.model.server | |
| rocks.xmpp.im.chat |
Provides core classes needed for chat.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
XmppSession.sendAndAwaitMessage(StreamElement stanza,
Predicate<Message> filter)
Sends a stanza and then waits for a message stanza to arrive.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
XmppSession.sendAndAwaitMessage(StreamElement stanza,
Predicate<Message> filter)
Sends a stanza and then waits for a message stanza to arrive.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
MessageEvent.getMessage()
Gets the message.
|
| Constructor and Description |
|---|
MessageEvent(Object source,
Message message,
boolean inbound)
Constructs a message event.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
Message.createError(Condition condition) |
Message |
Message.createError(StanzaError error) |
| Modifier and Type | Class and Description |
|---|---|
class |
ClientMessage
The implementation of the
<message/> element in the jabber:client namespace. |
| Modifier and Type | Method and Description |
|---|---|
static ClientMessage |
ClientMessage.from(Message m)
Creates a message for the
jabber:client namespace from a generic message. |
| Modifier and Type | Class and Description |
|---|---|
class |
ServerMessage
The implementation of the
<message/> element in the jabber:server namespace. |
| Modifier and Type | Method and Description |
|---|---|
static ServerMessage |
ServerMessage.from(Message m)
Creates a message for the
jabber:server namespace from a generic message. |
| Modifier and Type | Method and Description |
|---|---|
Message |
ChatSession.sendMessage(Message message)
Sends a chat message to the chat partner.
|
abstract Message |
Chat.sendMessage(Message message)
Sends a message to the chat.
|
Message |
ChatSession.sendMessage(String message)
Sends a chat message to the chat partner.
|
abstract Message |
Chat.sendMessage(String message)
Sends a message to the chat.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
ChatSession.sendMessage(Message message)
Sends a chat message to the chat partner.
|
abstract Message |
Chat.sendMessage(Message message)
Sends a message to the chat.
|
Copyright © 2014–2015 XMPP.rocks. All rights reserved.