public class UdpMessageDispatcher extends AbstractMessageDispatcher
UdpMessageDispatcher
is responsible for dispatching MuleEvents as
UDP packets on the networkModifier and Type | Field and Description |
---|---|
protected UdpConnector |
connector |
connected, connecting, connectionStrategy, disposed, endpoint, logger
PHASE_NAME
RECEIVE_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, useRemoteSync
activate, connect, disconnect, dispose, disposeAndLogException, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, isConnected, isDoThreading, passivate, reconnect, toString, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
activate, getConnector, passivate, validate
dispose
connect, disconnect, getConnectionDescription, isConnected
protected final UdpConnector connector
public UdpMessageDispatcher(OutboundEndpoint endpoint)
protected void doConnect() throws Exception
doConnect
in class AbstractConnectable
Exception
protected void doDisconnect() throws Exception
doDisconnect
in class AbstractConnectable
Exception
protected void doDispatch(MuleEvent event) throws Exception
doDispatch
in class AbstractMessageDispatcher
Exception
protected void write(DatagramSocket socket, byte[] data, int port, InetAddress inetAddress) throws IOException
IOException
protected MuleMessage doSend(MuleEvent event) throws Exception
doSend
in class AbstractMessageDispatcher
Exception
protected void doDispose()
doDispose
in class AbstractConnectable
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.