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
PacketDelivererdeliver in interface PacketDelivererpacket - the packet to routeUnauthorizedException - if the user is not authorisedPacketException - if the packet is null or the packet could not be routed.Copyright © 2003–2020 Ignite Realtime. All rights reserved.