Package | Description |
---|---|
org.jivesoftware.openfire.interceptor |
Provides classes for intercepting packets.
|
Modifier and Type | Class and Description |
---|---|
class |
PacketCopier
Packet interceptor that notifies of packets activity to components that previously
subscribed to the notificator.
|
Modifier and Type | Method and Description |
---|---|
List<PacketInterceptor> |
InterceptorManager.getInterceptors()
Returns an unmodifiable list of global packet interceptors.
|
List<PacketInterceptor> |
InterceptorManager.getUserInterceptors(String username)
Returns an unmodifable list of packet interceptors that are related to the
specified username.
|
Modifier and Type | Method and Description |
---|---|
void |
InterceptorManager.addInterceptor(int index,
PacketInterceptor interceptor)
Inserts a new interceptor at specified index in the list of currently configured
interceptors.
|
void |
InterceptorManager.addInterceptor(PacketInterceptor interceptor)
Inserts a new interceptor at the end of the list of currently configured
interceptors.
|
void |
InterceptorManager.addUserInterceptor(String username,
int index,
PacketInterceptor interceptor)
Inserts a new interceptor at specified index in the list of currently configured
interceptors for a specific username.
|
boolean |
InterceptorManager.removeInterceptor(PacketInterceptor interceptor)
Removes the global interceptor from the list.
|
boolean |
InterceptorManager.removeUserInterceptor(String username,
PacketInterceptor interceptor)
Removes the interceptor from the list of interceptors that are related to a specific
username.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
InterceptorManager.invokeInterceptors(Collection<PacketInterceptor> interceptors,
org.xmpp.packet.Packet packet,
Session session,
boolean read,
boolean processed)
Invokes a collection of interceptors for the provided packet.
|
Copyright © 2003–2019 Ignite Realtime. All rights reserved.