| Package | Description |
|---|---|
| org.jivesoftware.smack |
Core classes of the Smack API.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<PacketInterceptor,Connection.InterceptorWrapper> |
Connection.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,Connection.InterceptorWrapper> |
Connection.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 |
Connection.addPacketInterceptor(PacketInterceptor packetInterceptor,
PacketFilter packetFilter)
Registers a packet interceptor with this connection.
|
void |
XMPPConnection.addPacketWriterInterceptor(PacketInterceptor packetInterceptor,
PacketFilter packetFilter)
Deprecated.
|
void |
Connection.removePacketInterceptor(PacketInterceptor packetInterceptor)
Removes a packet interceptor.
|
void |
XMPPConnection.removePacketWriterInterceptor(PacketInterceptor packetInterceptor)
Deprecated.
replaced by
Connection.removePacketInterceptor(PacketInterceptor)
. |
| Constructor and Description |
|---|
Connection.InterceptorWrapper(PacketInterceptor packetInterceptor,
PacketFilter packetFilter)
Create a class which associates a packet filter with an interceptor.
|
Copyright © 2014. All Rights Reserved.