tigase.xmpp
public abstract class XMPPProcessor extends Object implements XMPPImplIfc
XMPPProcessor abstract class contains basic definition for
XMPP processor.
To create new processor implementing particular XMPP functionality
it is enough to extend this class and implement one abstract method.addReply(...), addMessage(...) and
addBroadcast(...) methods.Created: Tue Oct 5 20:31:23 2004
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ALL_NAMES
Field description
|
protected static String[][] |
ALL_PATHS
Field description
|
CLIENT_XMLNS| Modifier | Constructor and Description |
|---|---|
protected |
XMPPProcessor()
Constructs ...
|
| Modifier and Type | Method and Description |
|---|---|
Authorization |
canHandle(Packet packet,
XMPPResourceConnection conn)
Method description
|
int |
compareTo(XMPPImplIfc proc)
Method
compareTo is used to perform |
int |
concurrentQueuesNo()
Method description
|
int |
concurrentThreadsPerQueue()
Deprecated.
|
XMPPProcessor |
getInstance()
Method description
|
void |
getStatistics(StatisticsList list)
Method description
|
void |
init(Map<String,Object> settings)
Method description
|
boolean |
isSupporting(String element,
String ns)
Deprecated.
|
tigase.xml.Element[] |
supDiscoFeatures(XMPPResourceConnection session)
Method description
|
String[][] |
supElementNamePaths()
Method description
|
String[] |
supElements()
Deprecated.
|
String[] |
supNamespaces()
Method description
|
tigase.xml.Element[] |
supStreamFeatures(XMPPResourceConnection session)
Method description
|
Set<StanzaType> |
supTypes()
Method description
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitidprotected static final String ALL_NAMES
protected static final String[][] ALL_PATHS
public Authorization canHandle(Packet packet, XMPPResourceConnection conn)
canHandle in interface XMPPImplIfcpacket - conn - public final int compareTo(XMPPImplIfc proc)
compareTo is used to performcompareTo in interface Comparable<XMPPImplIfc>proc - an XMPPProcessor valueint valuepublic int concurrentQueuesNo()
concurrentQueuesNo in interface XMPPImplIfc@Deprecated public int concurrentThreadsPerQueue()
concurrentThreadsPerQueue in interface XMPPImplIfcpublic void init(Map<String,Object> settings) throws TigaseDBException
init in interface XMPPImplIfcsettings - TigaseDBExceptionpublic tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
supDiscoFeatures in interface XMPPImplIfcsession - public String[][] supElementNamePaths()
supElementNamePaths in interface XMPPImplIfc@Deprecated public String[] supElements()
supElements in interface XMPPImplIfcsupElementNamePathspublic String[] supNamespaces()
supNamespaces in interface XMPPImplIfcpublic tigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
supStreamFeatures in interface XMPPImplIfcsession - public Set<StanzaType> supTypes()
supTypes in interface XMPPImplIfcpublic XMPPProcessor getInstance()
public void getStatistics(StatisticsList list)
getStatistics in interface XMPPImplIfclist - @Deprecated public boolean isSupporting(String element, String ns)
isSupporting in interface XMPPImplIfcelement - ns - Copyright © 2013 Tigase. All rights reserved.