org.mule.transport.udp
Class UdpMessageDispatcher
java.lang.Object
org.mule.transport.AbstractConnectable
org.mule.transport.AbstractMessageDispatcher
org.mule.transport.udp.UdpMessageDispatcher
- All Implemented Interfaces:
- ExceptionListener, Disposable, Connectable, MessageDispatcher, MessageDispatching
public class UdpMessageDispatcher
- extends AbstractMessageDispatcher
UdpMessageDispatcher
is responsible for dispatching MuleEvents as
UDP packets on the network
Methods inherited from class org.mule.transport.AbstractConnectable |
activate, connect, disconnect, dispose, disposeAndLogException, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, isConnected, isDoThreading, passivate, reconnect, toString, validate |
connector
protected final UdpConnector connector
UdpMessageDispatcher
public UdpMessageDispatcher(OutboundEndpoint endpoint)
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
doDispatch
protected void doDispatch(MuleEvent event)
throws Exception
- Specified by:
doDispatch
in class AbstractMessageDispatcher
- Throws:
Exception
write
protected void write(DatagramSocket socket,
byte[] data,
int port,
InetAddress inetAddress)
throws IOException
- Throws:
IOException
doSend
protected MuleMessage doSend(MuleEvent event)
throws Exception
- Specified by:
doSend
in class AbstractMessageDispatcher
- Throws:
Exception
doDispose
protected void doDispose()
- Specified by:
doDispose
in class AbstractConnectable
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.