public abstract class AbstractDatagramTransportListener<E extends DatagramEndpoint> extends AbstractTransportListenerEx<E>
cfgCtx, config, isNonBlocking, log, metrics, state, useAxis2ThreadPool, workerPool
HOST_ADDRESS, PARAM_PORT
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, stopListeningForService
createMessageContext, 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, resume
protected void doInit() throws AxisFault
AbstractTransportListenerEx
AbstractTransportListener
and before the first endpoint is created, i.e. before the
first call to AbstractTransportListenerEx.createEndpoint()
.doInit
in class AbstractTransportListenerEx<E extends DatagramEndpoint>
AxisFault
protected final E createEndpoint()
createEndpoint
in class AbstractTransportListenerEx<E extends DatagramEndpoint>
protected abstract E doCreateEndpoint()
protected void startEndpoint(E endpoint) throws AxisFault
startEndpoint
in class AbstractTransportListenerEx<E extends DatagramEndpoint>
AxisFault
protected void stopEndpoint(E endpoint)
stopEndpoint
in class AbstractTransportListenerEx<E extends DatagramEndpoint>
public void destroy()
destroy
in interface TransportListener
destroy
in class AbstractTransportListener
protected abstract DatagramDispatcher<E> createDispatcher(DatagramDispatcherCallback callback) throws IOException
IOException
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.