Package org.jivesoftware.openfire
Interface ChannelHandler<T extends org.xmpp.packet.Packet>
-
- All Known Subinterfaces:
ClientSession
,ComponentSession
,ConnectionMultiplexerSession
,IncomingServerSession
,MUCUser
,OutgoingServerSession
,RoutableChannelHandler
,ServerSession
,Session
- All Known Implementing Classes:
AdHocCommandHandler
,FileTransferProxy
,HttpSession
,InternalComponentManager
,IQBindHandler
,IQBlockingHandler
,IQDiscoInfoHandler
,IQDiscoItemsHandler
,IQEntityTimeHandler
,IQHandler
,IQLastActivityHandler
,IQMessageCarbonsHandler
,IQMUCvCardHandler
,IQOfflineMessagesHandler
,IQPEPHandler
,IQPEPOwnerHandler
,IQPingHandler
,IQPrivacyHandler
,IQPrivateHandler
,IQRegisterHandler
,IQRosterHandler
,IQSessionEstablishmentHandler
,IQSharedGroupHandler
,IQvCardHandler
,IQVersionHandler
,LocalClientSession
,LocalComponentSession
,LocalConnectionMultiplexerSession
,LocalIncomingServerSession
,LocalMUCUser
,LocalOutgoingServerSession
,LocalServerSession
,LocalSession
,MediaProxyService
,OutgoingSessionPromise
,PresenceSubscribeHandler
,PresenceUpdateHandler
,PubSubModule
,RemoteMUCUser
,SocketPacketWriteHandler
,TransportHandler
public interface ChannelHandler<T extends org.xmpp.packet.Packet>
Interface to handle packets delivered by Channels.- Author:
- Matt Tucker
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
process(T packet)
Process an XMPP packet.
-
-
-
Method Detail
-
process
void process(T packet) throws UnauthorizedException, PacketException
Process an XMPP packet.- Parameters:
packet
- a packet to process.- Throws:
UnauthorizedException
- if not allowed to process the packet.PacketException
- thrown if the packet is malformed (results in the sender's session being shutdown).
-
-