Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.debugger |
Core debugger functionality.
|
org.jivesoftware.smackx.debugger |
Smack optional Debuggers.
|
org.jivesoftware.smackx.muc |
Classes and Interfaces that implement Multi-User Chat (MUC).
|
org.jivesoftware.smackx.pubsub | |
org.jivesoftware.smackx.receipts |
Modifier and Type | Field and Description |
---|---|
protected Map<PacketListener,XMPPConnection.ListenerWrapper> |
XMPPConnection.recvListeners
List of PacketListeners that will be notified when a new packet was received.
|
protected Map<PacketListener,XMPPConnection.ListenerWrapper> |
XMPPConnection.sendListeners
List of PacketListeners that will be notified when a new packet was sent.
|
Modifier and Type | Method and Description |
---|---|
protected Map<PacketListener,XMPPConnection.ListenerWrapper> |
XMPPConnection.getPacketListeners()
Get a map of all packet listeners for received packets of this connection.
|
protected Map<PacketListener,XMPPConnection.ListenerWrapper> |
XMPPConnection.getPacketSendingListeners()
Get a map of all packet listeners for sending packets of this connection.
|
Modifier and Type | Method and Description |
---|---|
void |
XMPPConnection.addPacketListener(PacketListener packetListener,
PacketFilter packetFilter)
Registers a packet listener with this connection.
|
void |
XMPPConnection.addPacketSendingListener(PacketListener packetListener,
PacketFilter packetFilter)
Registers a packet listener with this connection.
|
void |
XMPPConnection.removePacketListener(PacketListener packetListener)
Removes a packet listener for received packets from this connection.
|
void |
XMPPConnection.removePacketSendingListener(PacketListener packetListener)
Removes a packet listener for sending packets from this connection.
|
Constructor and Description |
---|
XMPPConnection.ListenerWrapper(PacketListener packetListener,
PacketFilter packetFilter)
Create a class which associates a packet filter with a listener.
|
Modifier and Type | Method and Description |
---|---|
PacketListener |
ConsoleDebugger.getReaderListener() |
PacketListener |
LiteDebugger.getReaderListener() |
PacketListener |
SmackDebugger.getReaderListener()
Returns the thread that will listen for all incoming packets and write them to the GUI.
|
PacketListener |
ConsoleDebugger.getWriterListener() |
PacketListener |
LiteDebugger.getWriterListener() |
PacketListener |
SmackDebugger.getWriterListener()
Returns the thread that will listen for all outgoing packets and write them to the GUI.
|
Modifier and Type | Method and Description |
---|---|
PacketListener |
EnhancedDebugger.getReaderListener() |
PacketListener |
EnhancedDebugger.getWriterListener() |
Modifier and Type | Method and Description |
---|---|
void |
MultiUserChat.addMessageListener(PacketListener listener)
Adds a packet listener that will be notified of any new messages in the
group chat.
|
void |
MultiUserChat.addParticipantListener(PacketListener listener)
Adds a packet listener that will be notified of any new Presence packets
sent to the group chat.
|
void |
MultiUserChat.removeMessageListener(PacketListener listener)
Removes a packet listener that was being notified of any new messages in the
multi user chat.
|
void |
MultiUserChat.removeParticipantListener(PacketListener listener)
Remoces a packet listener that was being notified of any new Presence packets
sent to the group chat.
|
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,PacketListener> |
Node.configEventToListenerMap |
protected ConcurrentHashMap<ItemDeleteListener,PacketListener> |
Node.itemDeleteToListenerMap |
protected ConcurrentHashMap<ItemEventListener<Item>,PacketListener> |
Node.itemEventToListenerMap |
Modifier and Type | Class and Description |
---|---|
class |
DeliveryReceiptManager
Manager for XEP-0184: Message Delivery Receipts.
|