tigase.xmpp
Class XMPPProcessor
java.lang.Object
tigase.xmpp.XMPPProcessor
- All Implemented Interfaces:
- java.lang.Comparable<XMPPProcessor>, XMPPImplIfc
- Direct Known Subclasses:
- BindResource, JabberIqAuth, JabberIqCommand, JabberIqIq, JabberIqPrivacy, JabberIqPrivate, JabberIqRegister, JabberIqStats, JabberIqVersion, Jingle, MessageArchive, OfflineMessages, RosterPresence, SaslAuth, ServiceDiscovery, SessionBind, SimpleForwarder, StartTLS, UrnXmppPing, VCardTemp
public abstract class XMPPProcessor
- extends java.lang.Object
- implements XMPPImplIfc, java.lang.Comparable<XMPPProcessor>
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.
Additionally to allow system properly recognize this processor you need also
to implement own constructor which sets proper values to parent constructor.
You must implement exactly one constructor with zero parameters which calls
parent constructor with proper values. Refer to constructor documentation
for information about required parameters.
To fully interact with entity connected to the session or with other entities
in XMPP network you should be also familiar with
addReply(...), addMessage(...) and
addBroadcast(...) methods.
There is also partialy implemented functionality to send messages to entities
in other networks like SMTP or other implemented by the server.
Once this implementation is finished there will be more information available.
If you, however, are interested in this particular feature send a question
to author.
Created: Tue Oct 5 20:31:23 2004
- Version:
- $Rev: 889 $
- Author:
- Artur Hefczyc
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMPPProcessor
protected XMPPProcessor()
supElements
public java.lang.String[] supElements()
- Specified by:
supElements in interface XMPPImplIfc
supNamespaces
public java.lang.String[] supNamespaces()
- Specified by:
supNamespaces in interface XMPPImplIfc
supStreamFeatures
public tigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
- Specified by:
supStreamFeatures in interface XMPPImplIfc
supDiscoFeatures
public tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
- Specified by:
supDiscoFeatures in interface XMPPImplIfc
isSupporting
public boolean isSupporting(java.lang.String element,
java.lang.String ns)
- Specified by:
isSupporting in interface XMPPImplIfc
getInstance
public XMPPProcessor getInstance()
compareTo
public final int compareTo(XMPPProcessor proc)
- Method
compareTo is used to perform
- Specified by:
compareTo in interface java.lang.Comparable<XMPPProcessor>
- Parameters:
proc - an XMPPProcessor value
- Returns:
- an
int value
Copyright © 2008 Tigase. All Rights Reserved.