Interceptors are executed before and after processing an incoming packet and sending a packet to a user. This means that interceptors are able to alter or reject packets before they are processed further. If possible, interceptors should perform their work in a short time so that overall performance is not compromised. @param workgroup the bare JID address of the workgroup. @param packet the packet that has been read or is about to be sent. @param read true indicates that the packet was read. When false, the packetis being sent to a user. @param processed true if the packet has already processed (incoming or outgoing).If the packet hasn't already been processed, this flag will be false. @throws PacketRejectedException if the packet should be prevented from being processed.
|
|
|
|
|
|
|
|