org.androidpn.server.xmpp.router
Class PresenceRouter

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

public class PresenceRouter
extends java.lang.Object

This class is to route Presence packets to their corresponding handler.

Author:
Sehwan Noh (devnoh@gmail.com)

Constructor Summary
PresenceRouter()
          Constucts a packet router.
 
Method Summary
 void route(org.xmpp.packet.Presence packet)
          Routes the Presence packet.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PresenceRouter

public PresenceRouter()
Constucts a packet router.

Method Detail

route

public void route(org.xmpp.packet.Presence packet)
Routes the Presence packet.

Parameters:
packet - the packet to route