Uses of Interface
org.jivesoftware.openfire.interceptor.PacketInterceptor
Packages that use PacketInterceptor
Package
Description
Provides classes for intercepting packets.
-
Uses of PacketInterceptor in org.jivesoftware.openfire.interceptor
Classes in org.jivesoftware.openfire.interceptor that implement PacketInterceptorModifier and TypeClassDescriptionclassPacket 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 PacketInterceptorModifier and TypeMethodDescriptionInterceptorManager.getInterceptors()Returns an unmodifiable list of global packet interceptors.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 PacketInterceptorModifier and TypeMethodDescriptionvoidInterceptorManager.addInterceptor(int index, PacketInterceptor interceptor) Inserts a new interceptor at specified index in the list of currently configured interceptors.voidInterceptorManager.addInterceptor(PacketInterceptor interceptor) Inserts a new interceptor at the end of the list of currently configured interceptors.voidInterceptorManager.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.booleanInterceptorManager.removeInterceptor(PacketInterceptor interceptor) Removes the global interceptor from the list.booleanInterceptorManager.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 PacketInterceptorModifier and TypeMethodDescriptionprotected static voidInterceptorManager.invokeInterceptors(Collection<PacketInterceptor> interceptors, org.xmpp.packet.Packet packet, Session session, boolean read, boolean processed) Invokes a collection of interceptors for the provided packet.