Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.tcp |
TCP-IP related classes for Smack.
|
org.jivesoftware.smackx.pubsub |
Smack's API for XEP-0060: Publish-Subscribe.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PacketListener
Deprecated.
use
StanzaListener instead |
Modifier and Type | Class and Description |
---|---|
static class |
SmackFuture.InternalProcessStanzaSmackFuture<V,E extends Exception> |
static class |
SmackFuture.SimpleInternalProcessStanzaSmackFuture<V,E extends Exception>
A simple version of InternalSmackFuture which implements isNonFatalException(E) as always returning
false method. |
Modifier and Type | Method and Description |
---|---|
StanzaListener |
AbstractXMPPConnection.InterceptorWrapper.getInterceptor() |
StanzaListener |
AbstractXMPPConnection.ListenerWrapper.getListener() |
Modifier and Type | Method and Description |
---|---|
void |
XMPPConnection.addAsyncStanzaListener(StanzaListener stanzaListener,
StanzaFilter stanzaFilter)
Registers an asynchronous stanza listener with this connection.
|
void |
AbstractXMPPConnection.addAsyncStanzaListener(StanzaListener packetListener,
StanzaFilter packetFilter) |
void |
XMPPConnection.addOneTimeSyncCallback(StanzaListener callback,
StanzaFilter stanzaFilter)
Add a callback that is called exactly once and synchronously with the incoming stanza that matches the given
stanza filter.
|
void |
AbstractXMPPConnection.addOneTimeSyncCallback(StanzaListener callback,
StanzaFilter packetFilter) |
void |
XMPPConnection.addPacketInterceptor(StanzaListener stanzaInterceptor,
StanzaFilter stanzaFilter)
|
void |
AbstractXMPPConnection.addPacketInterceptor(StanzaListener packetInterceptor,
StanzaFilter packetFilter)
Deprecated.
|
void |
XMPPConnection.addPacketSendingListener(StanzaListener stanzaListener,
StanzaFilter stanzaFilter)
|
void |
AbstractXMPPConnection.addPacketSendingListener(StanzaListener packetListener,
StanzaFilter packetFilter)
Deprecated.
|
void |
XMPPConnection.addStanzaInterceptor(StanzaListener stanzaInterceptor,
StanzaFilter stanzaFilter)
Registers a stanza interceptor with this connection.
|
void |
AbstractXMPPConnection.addStanzaInterceptor(StanzaListener packetInterceptor,
StanzaFilter packetFilter) |
void |
XMPPConnection.addStanzaSendingListener(StanzaListener stanzaListener,
StanzaFilter stanzaFilter)
Registers a stanza listener with this connection.
|
void |
AbstractXMPPConnection.addStanzaSendingListener(StanzaListener packetListener,
StanzaFilter packetFilter) |
void |
XMPPConnection.addSyncStanzaListener(StanzaListener stanzaListener,
StanzaFilter stanzaFilter)
Registers a synchronous stanza listener with this connection.
|
void |
AbstractXMPPConnection.addSyncStanzaListener(StanzaListener packetListener,
StanzaFilter packetFilter) |
boolean |
XMPPConnection.removeAsyncStanzaListener(StanzaListener stanzaListener)
Removes an asynchronous stanza listener for received stanzas from this connection.
|
boolean |
AbstractXMPPConnection.removeAsyncStanzaListener(StanzaListener packetListener) |
void |
XMPPConnection.removePacketInterceptor(StanzaListener stanzaInterceptor)
Deprecated.
|
void |
AbstractXMPPConnection.removePacketInterceptor(StanzaListener packetInterceptor)
Deprecated.
|
void |
XMPPConnection.removePacketSendingListener(StanzaListener stanzaListener)
Deprecated.
|
void |
AbstractXMPPConnection.removePacketSendingListener(StanzaListener packetListener)
Deprecated.
|
void |
XMPPConnection.removeStanzaInterceptor(StanzaListener stanzaInterceptor)
Removes a stanza interceptor.
|
void |
AbstractXMPPConnection.removeStanzaInterceptor(StanzaListener packetInterceptor) |
void |
XMPPConnection.removeStanzaSendingListener(StanzaListener stanzaListener)
Removes a stanza listener for sending stanzas from this connection.
|
void |
AbstractXMPPConnection.removeStanzaSendingListener(StanzaListener packetListener) |
boolean |
XMPPConnection.removeSyncStanzaListener(StanzaListener stanzaListener)
Removes a stanza listener for received stanzas from this connection.
|
boolean |
AbstractXMPPConnection.removeSyncStanzaListener(StanzaListener packetListener) |
void |
XMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback)
Deprecated.
use
XMPPConnection.sendIqRequestAsync(IQ) instead. |
void |
AbstractXMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback) |
void |
XMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback,
ExceptionCallback exceptionCallback)
Deprecated.
use
XMPPConnection.sendIqRequestAsync(IQ) instead. |
void |
AbstractXMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback,
ExceptionCallback exceptionCallback) |
void |
XMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback,
ExceptionCallback exceptionCallback,
long timeout)
Deprecated.
use
XMPPConnection.sendIqRequestAsync(IQ, long) instead. |
void |
AbstractXMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback,
ExceptionCallback exceptionCallback,
long timeout) |
void |
XMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback)
Deprecated.
use
XMPPConnection.sendAsync(Stanza, StanzaFilter) instead. |
void |
AbstractXMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback) |
void |
XMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback)
Deprecated.
use
XMPPConnection.sendAsync(Stanza, StanzaFilter) instead. |
void |
AbstractXMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback) |
void |
XMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback,
long timeout)
Deprecated.
use
XMPPConnection.sendAsync(Stanza, StanzaFilter, long) instead. |
void |
AbstractXMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback,
long timeout) |
Constructor and Description |
---|
InterceptorWrapper(StanzaListener packetInterceptor,
StanzaFilter packetFilter)
Create a class which associates a stanza filter with an interceptor.
|
ListenerWrapper(StanzaListener packetListener,
StanzaFilter packetFilter)
Create a class which associates a stanza filter with a listener.
|
Modifier and Type | Method and Description |
---|---|
StanzaListener |
XMPPTCPConnection.addStanzaIdAcknowledgedListener(String id,
StanzaListener listener)
Add a new Stanza ID acknowledged listener for the given ID.
|
StanzaListener |
XMPPTCPConnection.removeStanzaIdAcknowledgedListener(String id)
Remove the Stanza ID acknowledged listener for the given ID.
|
Modifier and Type | Method and Description |
---|---|
void |
XMPPTCPConnection.addStanzaAcknowledgedListener(StanzaListener listener)
Add a Stanza acknowledged listener.
|
StanzaListener |
XMPPTCPConnection.addStanzaIdAcknowledgedListener(String id,
StanzaListener listener)
Add a new Stanza ID acknowledged listener for the given ID.
|
boolean |
XMPPTCPConnection.removeStanzaAcknowledgedListener(StanzaListener listener)
Remove the given Stanza acknowledged listener.
|
Modifier and Type | Class and Description |
---|---|
static class |
Node.ItemDeleteTranslator
This class translates low level item deletion events into api level objects for
user consumption.
|
static class |
Node.ItemEventTranslator
This class translates low level item publication events into api level objects for
user consumption.
|
static class |
Node.NodeConfigTranslator
This class translates low level node configuration events into api level objects for
user consumption.
|
Modifier and Type | Field and Description |
---|---|
protected ConcurrentHashMap<NodeConfigListener,StanzaListener> |
Node.configEventToListenerMap |
protected ConcurrentHashMap<ItemDeleteListener,StanzaListener> |
Node.itemDeleteToListenerMap |
protected ConcurrentHashMap<ItemEventListener<Item>,StanzaListener> |
Node.itemEventToListenerMap |