public class UdpMessageDispatcher extends AbstractMessageDispatcher
UdpMessageDispatcher is responsible for dispatching MuleEvents as
UDP packets on the network| Modifier and Type | Field and Description |
|---|---|
protected UdpConnector |
connector |
connected, connecting, connectionStrategy, disposed, endpoint, loggerPHASE_NAMERECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY| Constructor and Description |
|---|
UdpMessageDispatcher(OutboundEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doConnect() |
protected void |
doDisconnect() |
protected void |
doDispatch(MuleEvent event) |
protected void |
doDispose() |
protected MuleMessage |
doSend(MuleEvent event) |
protected void |
write(DatagramSocket socket,
byte[] data,
int port,
InetAddress inetAddress) |
dispatch, isTransactionRollback, send, useRemoteSyncactivate, connect, disconnect, dispose, disposeAndLogException, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, isConnected, isDoThreading, passivate, reconnect, toString, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactivate, getConnector, passivate, validatedisposeconnect, disconnect, getConnectionDescription, isConnectedprotected final UdpConnector connector
public UdpMessageDispatcher(OutboundEndpoint endpoint)
protected void doConnect()
throws Exception
doConnect in class AbstractConnectableExceptionprotected void doDisconnect()
throws Exception
doDisconnect in class AbstractConnectableExceptionprotected void doDispatch(MuleEvent event) throws Exception
doDispatch in class AbstractMessageDispatcherExceptionprotected void write(DatagramSocket socket, byte[] data, int port, InetAddress inetAddress) throws IOException
IOExceptionprotected MuleMessage doSend(MuleEvent event) throws Exception
doSend in class AbstractMessageDispatcherExceptionprotected void doDispose()
doDispose in class AbstractConnectableCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.