Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.debugger |
Core debugger functionality.
|
org.jivesoftware.smack.tcp | |
org.jivesoftware.smackx.debugger |
Smack optional Debuggers.
|
org.jivesoftware.smackx.debugger.slf4j |
Smack slf4j debugger implementation.
|
org.jivesoftware.smackx.muc |
Classes and Interfaces that implement Multi-User Chat (MUC).
|
org.jivesoftware.smackx.pubsub |
Modifier and Type | Interface and Description |
---|---|
interface |
PacketListener
Deprecated.
use
StanzaListener instead |
Modifier and Type | Method and Description |
---|---|
StanzaListener |
AbstractXMPPConnection.InterceptorWrapper.getInterceptor() |
StanzaListener |
AbstractXMPPConnection.ListenerWrapper.getListener() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractXMPPConnection.addAsyncStanzaListener(StanzaListener packetListener,
StanzaFilter packetFilter) |
void |
XMPPConnection.addAsyncStanzaListener(StanzaListener packetListener,
StanzaFilter packetFilter)
Registers an asynchronous stanza(/packet) listener with this connection.
|
void |
AbstractXMPPConnection.addOneTimeSyncCallback(StanzaListener callback,
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.addPacketInterceptor(StanzaListener packetInterceptor,
StanzaFilter packetFilter) |
void |
XMPPConnection.addPacketInterceptor(StanzaListener packetInterceptor,
StanzaFilter packetFilter)
Registers a stanza(/packet) interceptor with this connection.
|
void |
AbstractXMPPConnection.addPacketListener(StanzaListener packetListener,
StanzaFilter packetFilter)
Deprecated.
|
void |
XMPPConnection.addPacketListener(StanzaListener packetListener,
StanzaFilter packetFilter)
|
void |
AbstractXMPPConnection.addPacketSendingListener(StanzaListener packetListener,
StanzaFilter packetFilter) |
void |
XMPPConnection.addPacketSendingListener(StanzaListener packetListener,
StanzaFilter packetFilter)
Registers a stanza(/packet) listener with this connection.
|
void |
AbstractXMPPConnection.addSyncStanzaListener(StanzaListener packetListener,
StanzaFilter packetFilter) |
void |
XMPPConnection.addSyncStanzaListener(StanzaListener packetListener,
StanzaFilter packetFilter)
Registers a synchronous stanza(/packet) listener with this connection.
|
boolean |
AbstractXMPPConnection.removeAsyncStanzaListener(StanzaListener packetListener) |
boolean |
XMPPConnection.removeAsyncStanzaListener(StanzaListener packetListener)
Removes an asynchronous stanza(/packet) listener for received packets from this connection.
|
void |
AbstractXMPPConnection.removePacketInterceptor(StanzaListener packetInterceptor) |
void |
XMPPConnection.removePacketInterceptor(StanzaListener packetInterceptor)
Removes a stanza(/packet) interceptor.
|
boolean |
AbstractXMPPConnection.removePacketListener(StanzaListener packetListener)
Deprecated.
|
boolean |
XMPPConnection.removePacketListener(StanzaListener packetListener)
|
void |
AbstractXMPPConnection.removePacketSendingListener(StanzaListener packetListener) |
void |
XMPPConnection.removePacketSendingListener(StanzaListener packetListener)
Removes a stanza(/packet) listener for sending packets from this connection.
|
boolean |
AbstractXMPPConnection.removeSyncStanzaListener(StanzaListener packetListener) |
boolean |
XMPPConnection.removeSyncStanzaListener(StanzaListener packetListener)
Removes a stanza(/packet) listener for received packets from this connection.
|
void |
AbstractXMPPConnection.sendIqWithResponseCallback(IQ iqRequest,
StanzaListener callback) |
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,
ExceptionCallback exceptionCallback) |
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,
long timeout) |
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.sendStanzaWithResponseCallback(Stanza stanza,
StanzaFilter replyFilter,
StanzaListener callback) |
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,
ExceptionCallback exceptionCallback) |
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,
long timeout) |
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 . |
Constructor and Description |
---|
AbstractXMPPConnection.InterceptorWrapper(StanzaListener packetInterceptor,
StanzaFilter packetFilter)
Create a class which associates a stanza(/packet) filter with an interceptor.
|
AbstractXMPPConnection.ListenerWrapper(StanzaListener packetListener,
StanzaFilter packetFilter)
Create a class which associates a stanza(/packet) filter with a listener.
|
Modifier and Type | Method and Description |
---|---|
StanzaListener |
AbstractDebugger.getReaderListener() |
StanzaListener |
SmackDebugger.getReaderListener()
Returns the thread that will listen for all incoming packets and write them to the GUI.
|
StanzaListener |
AbstractDebugger.getWriterListener() |
StanzaListener |
SmackDebugger.getWriterListener()
Returns the thread that will listen for all outgoing packets and write them to the GUI.
|
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 | Method and Description |
---|---|
StanzaListener |
EnhancedDebugger.getReaderListener() |
StanzaListener |
LiteDebugger.getReaderListener() |
StanzaListener |
EnhancedDebugger.getWriterListener() |
StanzaListener |
LiteDebugger.getWriterListener() |
Modifier and Type | Method and Description |
---|---|
StanzaListener |
SLF4JSmackDebugger.getReaderListener() |
StanzaListener |
SLF4JSmackDebugger.getWriterListener() |
Modifier and Type | Method and Description |
---|---|
void |
MultiUserChat.removePresenceInterceptor(StanzaListener presenceInterceptor)
Removes a
StanzaListener that was being invoked every time a new presence
was being sent by this MultiUserChat to the server. |
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.
|
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 |