tigase.xmpp.impl
Class MessageForwarding

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

public class MessageForwarding
extends XMPPProcessor
implements XMPPProcessorIfc

Message forwarder class. Forwards Message packet to it's destination address. Created: Tue Feb 21 15:49:08 2006

Version:
$Rev: 2348 $
Author:
Artur Hefczyc

Field Summary
 
Fields inherited from class tigase.xmpp.XMPPProcessor
ALL
 
Fields inherited from interface tigase.xmpp.XMPPImplIfc
CLIENT_XMLNS
 
Constructor Summary
MessageForwarding()
           
 
Method Summary
 String id()
          Returns plugin unique identifier.
 void process(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
          Method description
 String[] supElements()
          Method description
 String[] supNamespaces()
          Method description
 
Methods inherited from class tigase.xmpp.XMPPProcessor
compareTo, concurrentQueuesNo, concurrentThreadsPerQueue, getInstance, getStatistics, init, isSupporting, supDiscoFeatures, supStreamFeatures
 
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
concurrentQueuesNo, concurrentThreadsPerQueue, getStatistics, init, isSupporting, supDiscoFeatures, supStreamFeatures
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

MessageForwarding

public MessageForwarding()
Method Detail

id

public String id()
Returns plugin unique identifier.

Specified by:
id in interface XMPPImplIfc
Returns:
pugin unique identifier.

process

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

Specified by:
process in interface XMPPProcessorIfc
Parameters:
packet -
session -
repo -
results -
settings -
Throws:
XMPPException

supElements

public String[] supElements()
Method description

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

supNamespaces

public String[] supNamespaces()
Method description

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


Copyright © 2012 Tigase. All Rights Reserved.