public abstract class AbstractDatagramTransportListener<E extends DatagramEndpoint> extends AbstractTransportListenerEx<E>
cfgCtx, config, isNonBlocking, log, metrics, state, useAxis2ThreadPool, workerPool| Constructor and Description |
|---|
AbstractDatagramTransportListener() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract DatagramDispatcher<E> |
createDispatcher(DatagramDispatcherCallback callback) |
protected E |
createEndpoint() |
void |
destroy() |
protected abstract E |
doCreateEndpoint() |
protected void |
doInit()
Initialize the transport.
|
protected void |
startEndpoint(E endpoint) |
protected void |
stopEndpoint(E endpoint) |
getEndpoints, getEPRsForService, init, start, startListeningForService, stop, stopListeningForServicecreateMessageContext, disableTransportForService, getActiveThreadCount, getAvgSizeReceived, getAvgSizeSent, getBytesReceived, getBytesSent, getConfigurationContext, getEPRForService, getEPRsForService, getFaultsReceiving, getFaultsSending, getLastResetTime, getMaxSizeReceived, getMaxSizeSent, getMessagesReceived, getMessagesSent, getMetricsCollector, getMetricsWindow, getMinSizeReceived, getMinSizeSent, getQueueSize, getResponseCodeTable, getSessionContext, getTimeoutsReceiving, getTimeoutsSending, getTransportInDescription, getTransportName, handleException, handleIncomingMessage, logException, maintenenceShutdown, pause, resetStatistics, resumeprotected void doInit()
throws org.apache.axis2.AxisFault
AbstractTransportListenerExAbstractTransportListener and before the first endpoint is created, i.e. before the
first call to AbstractTransportListenerEx.createEndpoint().doInit in class AbstractTransportListenerEx<E extends DatagramEndpoint>org.apache.axis2.AxisFaultprotected final E createEndpoint()
createEndpoint in class AbstractTransportListenerEx<E extends DatagramEndpoint>protected abstract E doCreateEndpoint()
protected void startEndpoint(E endpoint) throws org.apache.axis2.AxisFault
startEndpoint in class AbstractTransportListenerEx<E extends DatagramEndpoint>org.apache.axis2.AxisFaultprotected void stopEndpoint(E endpoint)
stopEndpoint in class AbstractTransportListenerEx<E extends DatagramEndpoint>public void destroy()
destroy in interface org.apache.axis2.transport.TransportListenerdestroy in class AbstractTransportListenerprotected abstract DatagramDispatcher<E> createDispatcher(DatagramDispatcherCallback callback) throws IOException
IOExceptionCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.