| Package | Description |
|---|---|
| org.jamppa.client | |
| org.jivesoftware.smack |
Core classes of the Smack API.
|
| org.jivesoftware.smack.filter |
Allows
PacketCollector and PacketListener instances to filter for packets with particular attributes. |
| Modifier and Type | Method and Description |
|---|---|
void |
XMPPClient.on(PacketFilter filter,
PacketListener callback) |
| Modifier and Type | Method and Description |
|---|---|
PacketFilter |
PacketCollector.getPacketFilter()
Returns the packet filter associated with this packet collector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ChatManager.addOutgoingMessageInterceptor(PacketInterceptor packetInterceptor,
PacketFilter filter) |
void |
Connection.addPacketInterceptor(PacketInterceptor packetInterceptor,
PacketFilter packetFilter)
Registers a packet interceptor with this connection.
|
void |
Connection.addPacketListener(PacketListener packetListener,
PacketFilter packetFilter)
Registers a packet listener with this connection.
|
void |
Connection.addPacketSendingListener(PacketListener packetListener,
PacketFilter packetFilter)
Registers a packet listener with this connection.
|
void |
XMPPConnection.addPacketWriterInterceptor(PacketInterceptor packetInterceptor,
PacketFilter packetFilter)
Deprecated.
|
void |
XMPPConnection.addPacketWriterListener(PacketListener packetListener,
PacketFilter packetFilter)
Deprecated.
|
PacketCollector |
Connection.createPacketCollector(PacketFilter packetFilter)
Creates a new packet collector for this connection.
|
| Constructor and Description |
|---|
Connection.InterceptorWrapper(PacketInterceptor packetInterceptor,
PacketFilter packetFilter)
Create a class which associates a packet filter with an interceptor.
|
Connection.ListenerWrapper(PacketListener packetListener,
PacketFilter packetFilter)
Create a class which associates a packet filter with a listener.
|
PacketCollector(Connection conection,
PacketFilter packetFilter)
Creates a new packet collector.
|
PacketCollector(Connection conection,
PacketFilter packetFilter,
int maxSize)
Creates a new packet collector.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AndFilter
Implements the logical AND operation over two or more packet filters.
|
class |
FromContainsFilter
Filters for packets where the "from" field contains a specified value.
|
class |
FromMatchesFilter
Filter for packets where the "from" field exactly matches a specified JID.
|
class |
IQTypeFilter
A filter for IQ packet types.
|
class |
MessageTypeFilter
Filters for packets of a specific type of Message (e.g.
|
class |
NotFilter
Implements the logical NOT operation on a packet filter.
|
class |
OrFilter
Implements the logical OR operation over two or more packet filters.
|
class |
PacketExtensionFilter
Filters for packets with a particular type of packet extension.
|
class |
PacketIDFilter
Filters for packets with a particular packet ID.
|
class |
PacketTypeFilter
Filters for packets of a particular type.
|
class |
ThreadFilter
Filters for message packets with a particular thread value.
|
class |
ToContainsFilter
Filters for packets where the "to" field contains a specified value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AndFilter.addFilter(PacketFilter filter)
Adds a filter to the filter list for the AND operation.
|
void |
OrFilter.addFilter(PacketFilter filter)
Adds a filter to the filter list for the OR operation.
|
| Constructor and Description |
|---|
AndFilter(PacketFilter... filters)
Creates an AND filter using the specified filters.
|
NotFilter(PacketFilter filter)
Creates a NOT filter using the specified filter.
|
OrFilter(PacketFilter filter1,
PacketFilter filter2)
Creates an OR filter using the two specified filters.
|
Copyright © 2014. All Rights Reserved.