Package org.apache.axis2.transport.tcp
Class TCPTransportListener
- java.lang.Object
-
- org.apache.axis2.transport.base.AbstractTransportListener
-
- org.apache.axis2.transport.base.AbstractTransportListenerEx<TCPEndpoint>
-
- org.apache.axis2.transport.tcp.TCPTransportListener
-
- All Implemented Interfaces:
TransportListener
public class TCPTransportListener extends AbstractTransportListenerEx<TCPEndpoint>
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.transport.base.AbstractTransportListener
cfgCtx, config, isNonBlocking, log, metrics, state, useAxis2ThreadPool, workerPool
-
Fields inherited from interface org.apache.axis2.kernel.TransportListener
HOST_ADDRESS, PARAM_PORT
-
-
Constructor Summary
Constructors Constructor Description TCPTransportListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TCPEndpoint
createEndpoint()
protected void
doInit()
Initialize the transport.protected void
startEndpoint(TCPEndpoint endpoint)
protected void
stopEndpoint(TCPEndpoint endpoint)
-
Methods inherited from class org.apache.axis2.transport.base.AbstractTransportListenerEx
getEndpoints, getEPRsForService, init, start, startListeningForService, stop, stopListeningForService
-
Methods inherited from class org.apache.axis2.transport.base.AbstractTransportListener
createMessageContext, destroy, 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
-
-
-
-
Method Detail
-
doInit
protected void doInit() throws AxisFault
Description copied from class:AbstractTransportListenerEx
Initialize the transport. This method will be called after the initialization work inAbstractTransportListener
and before the first endpoint is created, i.e. before the first call toAbstractTransportListenerEx.createEndpoint()
.- Specified by:
doInit
in classAbstractTransportListenerEx<TCPEndpoint>
- Throws:
AxisFault
-
createEndpoint
protected TCPEndpoint createEndpoint()
- Specified by:
createEndpoint
in classAbstractTransportListenerEx<TCPEndpoint>
-
startEndpoint
protected void startEndpoint(TCPEndpoint endpoint) throws AxisFault
- Specified by:
startEndpoint
in classAbstractTransportListenerEx<TCPEndpoint>
- Throws:
AxisFault
-
stopEndpoint
protected void stopEndpoint(TCPEndpoint endpoint)
- Specified by:
stopEndpoint
in classAbstractTransportListenerEx<TCPEndpoint>
-
-