Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.debugger |
Core debugger functionality.
|
org.jivesoftware.smack.tcp |
TODO describe me.
|
org.jivesoftware.smackx.debugger |
Smack optional Debuggers.
|
org.jivesoftware.smackx.debugger.slf4j |
Smack slf4j debugger implementation.
|
org.jivesoftware.smackx.pubsub |
Smack's API for XEP-60: Publish-Subscribe.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PacketListener
Deprecated.
use
StanzaListener instead |
Modifier and Type | Class and Description |
---|---|
static class |
SmackFuture.InternalSmackFuture<V> |
static class |
SmackFuture.SimpleInternalSmackFuture<V>
A simple version of InternalSmackFuture which implements
SmackFuture.SimpleInternalSmackFuture.isNonFatalException(Exception) 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 packetListener,
StanzaFilter packetFilter)
Registers an asynchronous stanza(/packet) listener with this connection.
|
void |
AbstractXMPPConnection.addAsyncStanzaListener(StanzaListener packetListener,
StanzaFilter packetFilter) |
void |
XMPPConnection.addOneTimeSyncCallback(StanzaListener callback,
StanzaFilter packetFilter)
Add a callback that is called exactly once and synchronously with the incoming stanza that matches the given
stanza(/packet) filter.
|
void |
AbstractXMPPConnection.addOneTimeSyncCallback(StanzaListener callback,
StanzaFilter packetFilter) |
void |
XMPPConnection.addPacketInterceptor(StanzaListener packetInterceptor,
StanzaFilter packetFilter)
Registers a stanza(/packet) interceptor with this connection.
|
void |
AbstractXMPPConnection.addPacketInterceptor(StanzaListener packetInterceptor,
StanzaFilter packetFilter) |
void |
XMPPConnection.addPacketListener(StanzaListener packetListener,
StanzaFilter packetFilter)
|
void |
AbstractXMPPConnection.addPacketListener(StanzaListener packetListener,
StanzaFilter packetFilter)
Deprecated.
|
void |
XMPPConnection.addPacketSendingListener(StanzaListener packetListener,
StanzaFilter packetFilter)
Registers a stanza(/packet) listener with this connection.
|
void |
AbstractXMPPConnection.addPacketSendingListener(StanzaListener packetListener,
StanzaFilter packetFilter) |
void |
XMPPConnection.addSyncStanzaListener(StanzaListener packetListener,
StanzaFilter packetFilter)
Registers a synchronous stanza(/packet) listener with this connection.
|
void |
AbstractXMPPConnection.addSyncStanzaListener(StanzaListener packetListener,
StanzaFilter packetFilter) |
boolean |
XMPPConnection.removeAsyncStanzaListener(StanzaListener packetListener)
Removes an asynchronous stanza(/packet) listener for received packets from this connection.
|
boolean |
AbstractXMPPConnection.removeAsyncStanzaListener(StanzaListener packetListener) |
void |
XMPPConnection.removePacketInterceptor(StanzaListener packetInterceptor)
Removes a stanza(/packet) interceptor.
|
void |
AbstractXMPPConnection.removePacketInterceptor(StanzaListener packetInterceptor) |
boolean |
XMPPConnection.removePacketListener(StanzaListener packetListener)
|
boolean |
AbstractXMPPConnection.removePacketListener(StanzaListener packetListener)
Deprecated.
|
void |
XMPPConnection.removePacketSendingListener(StanzaListener packetListener)
Removes a stanza(/packet) listener for sending packets from this connection.
|
void |
AbstractXMPPConnection.removePacketSendingListener(StanzaListener packetListener) |
boolean |
XMPPConnection.removeSyncStanzaListener(StanzaListener packetListener)
Removes a stanza(/packet) listener for received packets from this connection.
|
boolean |
AbstractXMPPConnection.removeSyncStanzaListener(StanzaListener packetListener) |
void |
XMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback)
Send a IQ stanza and invoke
callback if there is a result of
IQ.Type.result with that result IQ. |
void |
AbstractXMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback) |
void |
XMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback,
ExceptionCallback exceptionCallback)
Send a IQ stanza and invoke
callback if there is a result of
IQ.Type.result with that result IQ. |
void |
AbstractXMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback,
ExceptionCallback exceptionCallback) |
void |
XMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback,
ExceptionCallback exceptionCallback,
long timeout)
Send a IQ stanza and invoke
callback if there is a result of
IQ.Type.result with that result IQ. |
void |
AbstractXMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback,
ExceptionCallback exceptionCallback,
long timeout) |
void |
XMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback)
Send a stanza and wait asynchronously for a response by using
replyFilter . |
void |
AbstractXMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback) |
void |
XMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback)
Send a stanza and wait asynchronously for a response by using
replyFilter . |
void |
AbstractXMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback) |
void |
XMPPConnection.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback,
ExceptionCallback exceptionCallback,
long timeout)
Send a stanza and wait asynchronously for a response by using
replyFilter . |
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(/packet) filter with an interceptor.
|
ListenerWrapper(StanzaListener packetListener,
StanzaFilter packetFilter)
Create a class which associates a stanza(/packet) filter with a listener.
|
Modifier and Type | Method and Description |
---|---|
StanzaListener |
SmackDebugger.getReaderListener()
Returns the thread that will listen for all incoming packets and write them to the GUI.
|
StanzaListener |
AbstractDebugger.getReaderListener() |
StanzaListener |
SmackDebugger.getWriterListener()
Returns the thread that will listen for all outgoing packets and write them to the GUI.
|
StanzaListener |
AbstractDebugger.getWriterListener() |
Modifier and Type | Method and Description |
---|---|
StanzaListener |
XMPPTCPConnection.addStanzaIdAcknowledgedListener(java.lang.String id,
StanzaListener listener)
Add a new Stanza ID acknowledged listener for the given ID.
|
StanzaListener |
XMPPTCPConnection.removeStanzaIdAcknowledgedListener(java.lang.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(java.lang.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 | Method and Description |
---|---|
StanzaListener |
LiteDebugger.getReaderListener() |
StanzaListener |
EnhancedDebugger.getReaderListener() |
StanzaListener |
LiteDebugger.getWriterListener() |
StanzaListener |
EnhancedDebugger.getWriterListener() |
Modifier and Type | Method and Description |
---|---|
StanzaListener |
SLF4JSmackDebugger.getReaderListener() |
StanzaListener |
SLF4JSmackDebugger.getWriterListener() |
Modifier and Type | Class and Description |
---|---|
class |
Node.ItemDeleteTranslator
This class translates low level item deletion events into api level objects for
user consumption.
|
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 java.util.concurrent.ConcurrentHashMap<NodeConfigListener,StanzaListener> |
Node.configEventToListenerMap |
protected java.util.concurrent.ConcurrentHashMap<ItemDeleteListener,StanzaListener> |
Node.itemDeleteToListenerMap |
protected java.util.concurrent.ConcurrentHashMap<ItemEventListener<Item>,StanzaListener> |
Node.itemEventToListenerMap |