public class SocketPacketWriteHandler extends Object implements ChannelHandler
PacketRouter
Constructor and Description |
---|
SocketPacketWriteHandler(RoutingTable routingTable) |
Modifier and Type | Method and Description |
---|---|
void |
process(org.xmpp.packet.Packet packet)
Process an XMPP packet.
|
public SocketPacketWriteHandler(RoutingTable routingTable)
public void process(org.xmpp.packet.Packet packet) throws UnauthorizedException, PacketException
ChannelHandler
process
in interface ChannelHandler
packet
- a packet to process.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–2019 Ignite Realtime. All rights reserved.