Package | Description |
---|---|
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. |
org.jivesoftware.smackx.filetransfer |
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 |
XMPPConnection.addPacketInterceptor(PacketInterceptor packetInterceptor,
PacketFilter packetFilter)
Registers a packet interceptor with this connection.
|
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.
|
PacketCollector |
XMPPConnection.createPacketCollector(PacketFilter packetFilter)
Creates a new packet collector for this connection.
|
Constructor and Description |
---|
PacketCollector(XMPPConnection connection,
PacketFilter packetFilter)
Creates a new packet collector.
|
PacketCollector(XMPPConnection connection,
PacketFilter packetFilter,
int maxSize)
Creates a new packet collector.
|
XMPPConnection.InterceptorWrapper(PacketInterceptor packetInterceptor,
PacketFilter packetFilter)
Create a class which associates a packet filter with an interceptor.
|
XMPPConnection.ListenerWrapper(PacketListener packetListener,
PacketFilter packetFilter)
Create a class which associates a packet filter with a listener.
|
Modifier and Type | Class and Description |
---|---|
class |
AndFilter
Implements the logical AND operation over two or more packet filters.
|
class |
FromMatchesFilter
Filter for packets where the "from" field exactly matches a specified JID.
|
class |
IQReplyFilter
Filters for packets which are a valid reply to an IQ request.
|
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.
|
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... filters)
Creates an OR filter using the specified filters.
|
Modifier and Type | Method and Description |
---|---|
PacketFilter |
FaultTolerantNegotiator.getInitiationPacketFilter(String from,
String streamID) |
PacketFilter |
IBBTransferNegotiator.getInitiationPacketFilter(String from,
String streamID) |
PacketFilter |
Socks5TransferNegotiator.getInitiationPacketFilter(String from,
String streamID) |
abstract PacketFilter |
StreamNegotiator.getInitiationPacketFilter(String from,
String streamID)
Returns the packet filter that will return the initiation packet for the appropriate stream
initiation.
|