|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.transport.AbstractConnector
org.mule.transport.udp.UdpConnector
public class UdpConnector
UdpConnector can send and receive Mule events as Datagram packets.
| Field Summary | |
|---|---|
static String |
ADDRESS_PROPERTY
|
protected boolean |
broadcast
|
static int |
DEFAULT_BUFFER_SIZE
|
static int |
DEFAULT_SOCKET_TIMEOUT
|
protected org.apache.commons.pool.impl.GenericKeyedObjectPool |
dispatcherSocketsPool
|
static String |
KEEP_SEND_SOCKET_OPEN_PROPERTY
|
protected boolean |
keepSendSocketOpen
|
static String |
PORT_PROPERTY
|
protected int |
receiveBufferSize
|
protected int |
sendBufferSize
|
protected UdpSocketFactory |
socketFactory
|
protected int |
timeout
|
static String |
UDP
|
| Fields inherited from class org.mule.transport.AbstractConnector |
|---|
createMultipleTransactedReceivers, DEFAULT_NUM_CONCURRENT_TX_RECEIVERS, dispatcherFactory, dispatcherPoolFactory, dispatchers, initialStateStopped, lifecycleManager, logger, muleContext, muleMessageFactory, name, numberOfConcurrentTransactedReceivers, PROPERTY_POLLING_FREQUENCY, receivers, requesterFactory, requesters, serviceDescriptor, serviceOverrides, sessionHandler, startOnConnect |
| Fields inherited from interface org.mule.api.transport.Connector |
|---|
INT_VALUE_NOT_SET |
| Fields inherited from interface org.mule.api.lifecycle.Disposable |
|---|
PHASE_NAME |
| Constructor Summary | |
|---|---|
UdpConnector(org.mule.api.MuleContext context)
|
|
| Method Summary | |
|---|---|
protected void |
doConnect()
|
protected void |
doDisconnect()
|
protected void |
doDispose()
|
protected void |
doInitialise()
|
protected void |
doStart()
|
protected void |
doStop()
|
String |
getProtocol()
|
int |
getReceiveBufferSize()
|
protected Object |
getReceiverKey(org.mule.api.construct.FlowConstruct flowConstruct,
org.mule.api.endpoint.InboundEndpoint endpoint)
|
int |
getSendBufferSize()
|
int |
getTimeout()
|
boolean |
isBroadcast()
|
boolean |
isKeepSendSocketOpen()
|
void |
setBroadcast(boolean broadcast)
|
void |
setKeepSendSocketOpen(boolean keepSendSocketOpen)
|
void |
setReceiveBufferSize(int receiveBufferSize)
|
void |
setSendBufferSize(int sendBufferSize)
|
void |
setTimeout(int timeout)
|
| Methods inherited from class org.mule.transport.AbstractConnector |
|---|
clearDispatchers, clearRequesters, configureDispatcherPool, connect, createDefaultRedeliveryPolicy, createDispatcherMessageProcessor, createMuleMessageFactory, createOperationResource, createReceiver, createScheduler, destroyReceiver, disconnect, dispose, disposeReceivers, disposeWorkManagers, doUnregisterListener, fireNotification, getConnectEventId, getConnectionDescription, getDefaultExchangePattern, getDefaultInboundTransformers, getDefaultOutboundTransformers, getDefaultResponseTransformers, getDispatcherFactory, getDispatcherPoolFactory, getDispatcherThreadingProfile, getDispatcherWorkManager, getInboundExchangePatterns, getLifecycleState, getMaxDispatchersActive, getMaxRequestersActive, getMaxTotalDispatchers, getMuleContext, getMuleMessageFactory, getName, getNumberOfConcurrentTransactedReceivers, getOperationResourceFactory, getOutboundExchangePatterns, getOutputStream, getReceiver, getReceivers, getReceivers, getReceiverThreadingProfile, getReceiverWorkManager, getReplyToHandler, getRequesterFactory, getRequesterThreadingProfile, getRequesterWorkManager, getRetryPolicyTemplate, getScheduler, getServiceDescriptor, getServiceOverrides, getSessionHandler, getSupportedProtocols, getTransactionalResource, handleWorkException, initFromServiceDescriptor, initialise, initialiseFromUrl, initWorkManagers, isConnected, isConnecting, isCreateMultipleTransactedReceivers, isDisposed, isEnableMessageEvents, isInitialised, isInitialStateStopped, isResponseEnabled, isStarted, isStarting, isStopped, isStopping, isValidateConnections, lookupReceiver, registerListener, registerSupportedMetaProtocol, registerSupportedProtocol, registerSupportedProtocolWithoutPrefix, request, request, setConnected, setConnecting, setCreateMultipleTransactedReceivers, setDispatcherFactory, setDispatcherPoolFactory, setDispatcherPoolMaxWait, setDispatcherPoolWhenExhaustedAction, setDispatcherThreadingProfile, setDynamicNotification, setInitialStateStopped, setMaxDispatchersActive, setMaxRequestersActive, setName, setNumberOfConcurrentTransactedReceivers, setReceiverThreadingProfile, setRequesterFactory, setRequesterPoolMaxWait, setRequesterPoolWhenExhaustedAction, setRequesterThreadingProfile, setRetryPolicyTemplate, setServiceOverrides, setSessionHandler, setSupportedProtocols, setupDispatchReturn, setupRequestReturn, setValidateConnections, shutdownScheduler, start, startAfterConnect, stop, supportsProtocol, toString, unregisterListener, unregisterSupportedProtocol, updateCachedNotificationHandler, validateConnection, workAccepted, workCompleted, workRejected, workStarted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String UDP
public static final int DEFAULT_SOCKET_TIMEOUT
public static final int DEFAULT_BUFFER_SIZE
public static final String KEEP_SEND_SOCKET_OPEN_PROPERTY
public static final String ADDRESS_PROPERTY
public static final String PORT_PROPERTY
protected int timeout
protected int sendBufferSize
protected int receiveBufferSize
protected boolean keepSendSocketOpen
protected boolean broadcast
protected org.apache.commons.pool.impl.GenericKeyedObjectPool dispatcherSocketsPool
protected UdpSocketFactory socketFactory
| Constructor Detail |
|---|
public UdpConnector(org.mule.api.MuleContext context)
| Method Detail |
|---|
protected void doInitialise()
throws org.mule.api.lifecycle.InitialisationException
doInitialise in class org.mule.transport.AbstractConnectororg.mule.api.lifecycle.InitialisationExceptionprotected void doDispose()
doDispose in class org.mule.transport.AbstractConnector
protected void doConnect()
throws Exception
doConnect in class org.mule.transport.AbstractConnectorException
protected void doDisconnect()
throws Exception
doDisconnect in class org.mule.transport.AbstractConnectorException
protected void doStart()
throws org.mule.api.MuleException
doStart in class org.mule.transport.AbstractConnectororg.mule.api.MuleException
protected void doStop()
throws org.mule.api.MuleException
doStop in class org.mule.transport.AbstractConnectororg.mule.api.MuleExceptionpublic String getProtocol()
public int getTimeout()
public void setTimeout(int timeout)
public int getSendBufferSize()
public void setSendBufferSize(int sendBufferSize)
public int getReceiveBufferSize()
public void setReceiveBufferSize(int receiveBufferSize)
public boolean isBroadcast()
public void setBroadcast(boolean broadcast)
public boolean isKeepSendSocketOpen()
public void setKeepSendSocketOpen(boolean keepSendSocketOpen)
protected Object getReceiverKey(org.mule.api.construct.FlowConstruct flowConstruct,
org.mule.api.endpoint.InboundEndpoint endpoint)
getReceiverKey in class org.mule.transport.AbstractConnector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||