org.mule.providers.email
Class Pop3MessageDispatcher
java.lang.Object
org.mule.providers.AbstractMessageDispatcher
org.mule.providers.email.Pop3MessageDispatcher
- All Implemented Interfaces:
- Disposable, java.beans.ExceptionListener, UMOMessageDispatcher
- public class Pop3MessageDispatcher
- extends AbstractMessageDispatcher
Pop3MessageDispatcher
For Pop3 connections the dispatcher can only be used
to receive message (as opposed to listening for them). Trying to send or dispatch will
throw an UnsupportedOperationException.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Ross Mason
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pop3MessageDispatcher
public Pop3MessageDispatcher(Pop3Connector connector)
initialise
protected void initialise(java.lang.String endpoint)
throws MessagingException
- Throws:
MessagingException
doDispatch
public void doDispatch(UMOEvent event)
throws java.lang.Exception
- Specified by:
doDispatch
in class AbstractMessageDispatcher
- Parameters:
event
-
- Throws:
java.lang.UnsupportedOperationException
java.lang.Exception
doSend
public UMOMessage doSend(UMOEvent event)
throws java.lang.Exception
- Specified by:
doSend
in class AbstractMessageDispatcher
- Parameters:
event
-
- Returns:
-
- Throws:
java.lang.UnsupportedOperationException
java.lang.Exception
receive
public UMOMessage receive(UMOEndpointURI endpointUri,
long timeout)
throws java.lang.Exception
- Endpoint can be in the form of
pop3://username:password@pop3.muleumo.org
- Parameters:
endpointUri
- timeout
-
- Returns:
-
- Throws:
java.lang.Exception
getDelegateSession
public java.lang.Object getDelegateSession()
throws UMOException
- Throws:
UMOException
getConnector
public UMOConnector getConnector()
- Specified by:
getConnector
in interface UMOMessageDispatcher
- Overrides:
getConnector
in class AbstractMessageDispatcher
doDispose
public void doDispose()
throws UMOException
- Specified by:
doDispose
in class AbstractMessageDispatcher
- Throws:
UMOException
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.