org.mule.transport.tcp
Class TcpMessageDispatcher
java.lang.Object
org.mule.transport.AbstractConnectable
org.mule.transport.AbstractMessageDispatcher
org.mule.transport.tcp.TcpMessageDispatcher
- All Implemented Interfaces:
- ExceptionListener, Disposable, Connectable, MessageDispatcher, MessageDispatching
public class TcpMessageDispatcher
- extends AbstractMessageDispatcher
Send transformed Mule events over TCP.
Methods inherited from class org.mule.transport.AbstractConnectable |
activate, connect, disconnect, dispose, disposeAndLogException, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, isConnected, isDoThreading, passivate, reconnect, toString, validate |
TcpMessageDispatcher
public TcpMessageDispatcher(OutboundEndpoint endpoint)
doDispatch
protected void doDispatch(MuleEvent event)
throws Exception
- Specified by:
doDispatch
in class AbstractMessageDispatcher
- Throws:
Exception
doSend
protected MuleMessage doSend(MuleEvent event)
throws Exception
- Specified by:
doSend
in class AbstractMessageDispatcher
- Throws:
Exception
receiveFromSocket
protected static Object receiveFromSocket(Socket socket,
int timeout,
ImmutableEndpoint endpoint)
throws IOException
- Throws:
IOException
doDispose
protected void doDispose()
- Specified by:
doDispose
in class AbstractConnectable
doConnect
protected void doConnect()
throws Exception
- Specified by:
doConnect
in class AbstractConnectable
- Throws:
Exception
doDisconnect
protected void doDisconnect()
throws Exception
- Specified by:
doDisconnect
in class AbstractConnectable
- Throws:
Exception
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.