public class DeafOccupantInterceptor extends Object implements PacketInterceptor
Deaf occupants will not get messages broadcasted to all room occupants. However, they will
be able to get private messages, presences, IQ packets or room history. To use this
functionality you will need to send the message
pass this interceptor as the parameter.
Note that this is a custom extension to the MUC service so it may not work with other servers than Wildfire.
|Constructor and Description|
public void interceptPacket(Packet packet)
Interceptors are invoked using the same thread that requested the packet to be sent, so it's very important that implementations of this method not block for any extended period of time.