tigase.xmpp.impl
Class UrnXmppPing

java.lang.Object
  extended by tigase.xmpp.XMPPProcessor
      extended by tigase.xmpp.XMPPProcessorAbstract
          extended by tigase.xmpp.impl.UrnXmppPing
All Implemented Interfaces:
Comparable<XMPPImplIfc>, XMPPImplIfc, XMPPProcessorIfc

public class UrnXmppPing
extends XMPPProcessorAbstract

XEP-0199: XMPP Ping

Version:
$Rev$
Author:
Bartosz MaƂkowski

Field Summary
 
Fields inherited from class tigase.xmpp.XMPPProcessor
ALL_NAMES, ALL_PATHS
 
Fields inherited from interface tigase.xmpp.XMPPImplIfc
CLIENT_XMLNS
 
Constructor Summary
UrnXmppPing()
           
 
Method Summary
 String id()
          Method description
 void processFromUserToServerPacket(tigase.xmpp.JID connectionId, Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
          Method description
 void processNullSessionPacket(Packet packet, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
          Method description
 void processServerSessionPacket(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
          Method description
 tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
          Method description
 String[][] supElementNamePaths()
          Method description
 String[] supNamespaces()
          Method description
 
Methods inherited from class tigase.xmpp.XMPPProcessorAbstract
process, processFromUserOutPacket, processFromUserPacket, processToUserPacket
 
Methods inherited from class tigase.xmpp.XMPPProcessor
canHandle, compareTo, concurrentQueuesNo, concurrentThreadsPerQueue, getInstance, getStatistics, init, isSupporting, supElements, supStreamFeatures, supTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface tigase.xmpp.XMPPImplIfc
canHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getStatistics, init, isSupporting, supElements, supStreamFeatures, supTypes
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

UrnXmppPing

public UrnXmppPing()
Method Detail

id

public String id()
Method description

Returns:

processFromUserToServerPacket

public void processFromUserToServerPacket(tigase.xmpp.JID connectionId,
                                          Packet packet,
                                          XMPPResourceConnection session,
                                          NonAuthUserRepository repo,
                                          Queue<Packet> results,
                                          Map<String,Object> settings)
Method description

Specified by:
processFromUserToServerPacket in class XMPPProcessorAbstract
Parameters:
connectionId -
packet -
session -
repo -
results -
settings -

processNullSessionPacket

public void processNullSessionPacket(Packet packet,
                                     NonAuthUserRepository repo,
                                     Queue<Packet> results,
                                     Map<String,Object> settings)
                              throws PacketErrorTypeException
Method description

Overrides:
processNullSessionPacket in class XMPPProcessorAbstract
Parameters:
packet -
repo -
results -
settings -
Throws:
PacketErrorTypeException

processServerSessionPacket

public void processServerSessionPacket(Packet packet,
                                       XMPPResourceConnection session,
                                       NonAuthUserRepository repo,
                                       Queue<Packet> results,
                                       Map<String,Object> settings)
Method description

Specified by:
processServerSessionPacket in class XMPPProcessorAbstract
Parameters:
packet -
session -
repo -
results -
settings -

supDiscoFeatures

public tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
Method description

Specified by:
supDiscoFeatures in interface XMPPImplIfc
Overrides:
supDiscoFeatures in class XMPPProcessor
Parameters:
session -
Returns:

supElementNamePaths

public String[][] supElementNamePaths()
Method description

Specified by:
supElementNamePaths in interface XMPPImplIfc
Overrides:
supElementNamePaths in class XMPPProcessor
Returns:

supNamespaces

public String[] supNamespaces()
Method description

Specified by:
supNamespaces in interface XMPPImplIfc
Overrides:
supNamespaces in class XMPPProcessor
Returns:


Copyright © 2013 Tigase. All rights reserved.