Package org.jivesoftware.openfire.net
Class SocketPacketWriteHandler
- java.lang.Object
-
- org.jivesoftware.openfire.net.SocketPacketWriteHandler
-
- All Implemented Interfaces:
ChannelHandler
public class SocketPacketWriteHandler extends Object implements ChannelHandler
This ChannelHandler writes packet data to connections.- Author:
- Iain Shigeoka
- See Also:
PacketRouter
-
-
Constructor Summary
Constructors Constructor Description SocketPacketWriteHandler(RoutingTable routingTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(org.xmpp.packet.Packet packet)Process an XMPP packet.
-
-
-
Constructor Detail
-
SocketPacketWriteHandler
public SocketPacketWriteHandler(RoutingTable routingTable)
-
-
Method Detail
-
process
public void process(org.xmpp.packet.Packet packet) throws UnauthorizedException, PacketExceptionDescription copied from interface:ChannelHandlerProcess an XMPP packet.- Specified by:
processin interfaceChannelHandler- 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).
-
-