Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smackx.muc |
Classes and Interfaces that implement Multi-User Chat (MUC).
|
Modifier and Type | Field and Description |
---|---|
protected Map<PacketInterceptor,XMPPConnection.InterceptorWrapper> |
XMPPConnection.interceptors
List of PacketInterceptors that will be notified when a new packet is about to be
sent to the server.
|
Modifier and Type | Method and Description |
---|---|
protected Map<PacketInterceptor,XMPPConnection.InterceptorWrapper> |
XMPPConnection.getPacketInterceptors()
Get a map of all packet interceptors for sending packets of this connection.
|
Modifier and Type | Method and Description |
---|---|
void |
ChatManager.addOutgoingMessageInterceptor(PacketInterceptor packetInterceptor)
Adds an interceptor which intercepts any messages sent through chats.
|
void |
ChatManager.addOutgoingMessageInterceptor(PacketInterceptor packetInterceptor,
PacketFilter filter) |
void |
XMPPConnection.addPacketInterceptor(PacketInterceptor packetInterceptor,
PacketFilter packetFilter)
Registers a packet interceptor with this connection.
|
void |
XMPPConnection.removePacketInterceptor(PacketInterceptor packetInterceptor)
Removes a packet interceptor.
|
Constructor and Description |
---|
XMPPConnection.InterceptorWrapper(PacketInterceptor packetInterceptor,
PacketFilter packetFilter)
Create a class which associates a packet filter with an interceptor.
|
Modifier and Type | Class and Description |
---|---|
class |
DeafOccupantInterceptor
Packet interceptor that will intercept presence packets sent to the MUC service to indicate
that the user wants to be a deaf occupant.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiUserChat.addPresenceInterceptor(PacketInterceptor presenceInterceptor)
Adds a new
PacketInterceptor that will be invoked every time a new presence
is going to be sent by this MultiUserChat to the server. |
void |
MultiUserChat.removePresenceInterceptor(PacketInterceptor presenceInterceptor)
Removes a
PacketInterceptor that was being invoked every time a new presence
was being sent by this MultiUserChat to the server. |