Package org.jivesoftware.openfire.net
Class SocketPacketWriteHandler
java.lang.Object
org.jivesoftware.openfire.net.SocketPacketWriteHandler
- All Implemented Interfaces:
ChannelHandler<org.xmpp.packet.Packet>
public class SocketPacketWriteHandler
extends Object
implements ChannelHandler<org.xmpp.packet.Packet>
This ChannelHandler writes packet data to connections.
- Author:
- Iain Shigeoka
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(org.xmpp.packet.Packet packet) Process an XMPP packet.
-
Constructor Details
-
SocketPacketWriteHandler
-
-
Method Details
-
process
Description copied from interface:ChannelHandler
Process an XMPP packet.- Specified by:
process
in interfaceChannelHandler<org.xmpp.packet.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).
-