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
Method Summary |
void |
process(org.xmpp.packet.Packet packet)
Process an XMPP packet. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketPacketWriteHandler
public SocketPacketWriteHandler(RoutingTable routingTable)
process
public void process(org.xmpp.packet.Packet packet)
throws UnauthorizedException,
PacketException
- Description copied from interface:
ChannelHandler
- Process an XMPP packet.
- Specified by:
process
in interface ChannelHandler
- 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).
Copyright © 2003-2008 Jive Software.