org.androidpn.server.xmpp.router
Class PacketDeliverer

java.lang.Object
  extended by org.androidpn.server.xmpp.router.PacketDeliverer

public class PacketDeliverer
extends java.lang.Object

This class is to deliver the packets to the connected sessions.

Author:
Sehwan Noh (devnoh@gmail.com)

Constructor Summary
PacketDeliverer()
           
 
Method Summary
static void deliver(org.xmpp.packet.Packet packet)
          Delivers the packet to the packet recipient.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PacketDeliverer

public PacketDeliverer()
Method Detail

deliver

public static void deliver(org.xmpp.packet.Packet packet)
                    throws PacketException
Delivers the packet to the packet recipient.

Parameters:
packet - the packet to deliver
Throws:
PacketException - if the packet is null or the recipient was not found.