org.mule.providers.xmpp
Class XmppMessageDispatcher

java.lang.Object
  extended byorg.mule.providers.AbstractMessageDispatcher
      extended byorg.mule.providers.xmpp.XmppMessageDispatcher
All Implemented Interfaces:
Disposable, java.beans.ExceptionListener, UMOMessageDispatcher

public class XmppMessageDispatcher
extends AbstractMessageDispatcher

XmppMessageDispatcher allows Mule events to be sent and recieved over Xmpp

Version:
$Revision: 1.4 $
Author:
Peter Braswell

Field Summary
protected static Log logger
          logger used by this class
 
Fields inherited from class org.mule.providers.AbstractMessageDispatcher
disposed, disposeOnCompletion, doThreading, workManager
 
Fields inherited from interface org.mule.umo.provider.UMOMessageDispatcher
RECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY
 
Constructor Summary
XmppMessageDispatcher(AbstractConnector connector)
           
 
Method Summary
 void doDispatch(UMOEvent event)
           
 void doDispose()
           
 UMOMessage doSend(UMOEvent event)
           
 java.lang.Object getDelegateSession()
           
protected  void initialize(UMOEndpointURI uri)
           
 UMOMessage receive(UMOEndpointURI endpointUri, long timeout)
           
 
Methods inherited from class org.mule.providers.AbstractMessageDispatcher
dispatch, dispose, exceptionThrown, getConnector, isDisposed, send
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static transient Log logger
logger used by this class

Constructor Detail

XmppMessageDispatcher

public XmppMessageDispatcher(AbstractConnector connector)
Method Detail

initialize

protected void initialize(UMOEndpointURI uri)
                   throws InitialisationException
Throws:
InitialisationException

doDispose

public void doDispose()
Specified by:
doDispose in class AbstractMessageDispatcher

doDispatch

public void doDispatch(UMOEvent event)
                throws java.lang.Exception
Specified by:
doDispatch in class AbstractMessageDispatcher
Throws:
java.lang.Exception

doSend

public UMOMessage doSend(UMOEvent event)
                  throws java.lang.Exception
Specified by:
doSend in class AbstractMessageDispatcher
Throws:
java.lang.Exception

receive

public UMOMessage receive(UMOEndpointURI endpointUri,
                          long timeout)
                   throws java.lang.Exception
Throws:
java.lang.Exception

getDelegateSession

public java.lang.Object getDelegateSession()


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.