public class OfflinePacketDeliverer extends Object implements PacketDeliverer
NIOConnection
when a
connection fails to send a Packet
(likely because it was closed). Message packets
will be stored offline for later retrieval. IQ and Presence packets are dropped.Constructor and Description |
---|
OfflinePacketDeliverer() |
Modifier and Type | Method and Description |
---|---|
void |
deliver(org.xmpp.packet.Packet packet)
Delivers the given packet based on packet recipient and sender.
|
public void deliver(org.xmpp.packet.Packet packet) throws UnauthorizedException, PacketException
PacketDeliverer
deliver
in interface PacketDeliverer
packet
- the packet to routePacketException
- if the packet is null or the packet could not be routed.UnauthorizedException
Copyright © 2003–2019 Ignite Realtime. All rights reserved.