Class AbstractDatagramTransportListener<E extends DatagramEndpoint>
java.lang.Object
org.apache.axis2.transport.base.AbstractTransportListener
org.apache.axis2.transport.base.AbstractTransportListenerEx<E>
org.apache.axis2.transport.base.datagram.AbstractDatagramTransportListener<E>
- All Implemented Interfaces:
org.apache.axis2.kernel.TransportListener
public abstract class AbstractDatagramTransportListener<E extends DatagramEndpoint>
extends AbstractTransportListenerEx<E>
-
Field Summary
Fields inherited from class org.apache.axis2.transport.base.AbstractTransportListener
cfgCtx, config, isNonBlocking, log, metrics, state, useAxis2ThreadPool, workerPoolFields inherited from interface org.apache.axis2.kernel.TransportListener
HOST_ADDRESS, PARAM_PORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract DatagramDispatcher<E>createDispatcher(DatagramDispatcherCallback callback) protected final Evoiddestroy()protected abstract Eprotected voiddoInit()Initialize the transport.protected voidstartEndpoint(E endpoint) protected voidstopEndpoint(E endpoint) Methods inherited from class org.apache.axis2.transport.base.AbstractTransportListenerEx
getEndpoints, getEPRsForService, init, start, startListeningForService, stop, stopListeningForServiceMethods inherited from class org.apache.axis2.transport.base.AbstractTransportListener
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
-
Constructor Details
-
AbstractDatagramTransportListener
public AbstractDatagramTransportListener()
-
-
Method Details
-
doInit
protected void doInit() throws org.apache.axis2.AxisFaultDescription copied from class:AbstractTransportListenerExInitialize the transport. This method will be called after the initialization work inAbstractTransportListenerand before the first endpoint is created, i.e. before the first call toAbstractTransportListenerEx.createEndpoint().- Specified by:
doInitin classAbstractTransportListenerEx<E extends DatagramEndpoint>- Throws:
org.apache.axis2.AxisFault
-
createEndpoint
- Specified by:
createEndpointin classAbstractTransportListenerEx<E extends DatagramEndpoint>
-
doCreateEndpoint
-
startEndpoint
- Specified by:
startEndpointin classAbstractTransportListenerEx<E extends DatagramEndpoint>- Throws:
org.apache.axis2.AxisFault
-
stopEndpoint
- Specified by:
stopEndpointin classAbstractTransportListenerEx<E extends DatagramEndpoint>
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.apache.axis2.kernel.TransportListener- Overrides:
destroyin classAbstractTransportListener
-
createDispatcher
protected abstract DatagramDispatcher<E> createDispatcher(DatagramDispatcherCallback callback) throws IOException - Throws:
IOException
-