Uses of Interface
org.jivesoftware.openfire.interceptor.PacketInterceptor
-
Packages that use PacketInterceptor Package Description org.jivesoftware.openfire.interceptor Provides classes for intercepting packets. -
-
Uses of PacketInterceptor in org.jivesoftware.openfire.interceptor
Classes in org.jivesoftware.openfire.interceptor that implement PacketInterceptor Modifier and Type Class Description class
PacketCopier
Packet interceptor that notifies of packets activity to components that previously subscribed to the notificator.Methods in org.jivesoftware.openfire.interceptor that return types with arguments of type PacketInterceptor Modifier and Type Method 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.Methods in org.jivesoftware.openfire.interceptor with parameters of type PacketInterceptor Modifier and Type Method 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.Method parameters in org.jivesoftware.openfire.interceptor with type arguments of type PacketInterceptor Modifier and Type Method 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.
-