public abstract class AbstractTransportListener extends Object implements org.apache.axis2.transport.TransportListener, org.apache.axis2.transport.base.ManagementSupport
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.axis2.context.ConfigurationContext |
configurationContext |
protected int |
port |
protected int |
proxyPort |
| Constructor and Description |
|---|
AbstractTransportListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected org.apache.axis2.addressing.EndpointReference |
genEpr(String protocol,
String ip,
String serviceContextPath,
String serviceName)
Returns the endpoint reference for a service.
|
int |
getActiveThreadCount() |
double |
getAvgSizeReceived() |
double |
getAvgSizeSent() |
long |
getBytesReceived() |
long |
getBytesSent() |
org.apache.axis2.addressing.EndpointReference |
getEPR(String protocol,
String serviceName,
String ip) |
long |
getFaultsReceiving() |
long |
getFaultsSending() |
long |
getLastResetTime() |
long |
getMaxSizeReceived() |
long |
getMaxSizeSent() |
long |
getMessagesReceived() |
long |
getMessagesSent() |
long |
getMetricsWindow() |
long |
getMinSizeReceived() |
long |
getMinSizeSent() |
int |
getQueueSize() |
Map |
getResponseCodeTable() |
org.apache.axis2.context.SessionContext |
getSessionContext(org.apache.axis2.context.MessageContext messageContext) |
long |
getTimeoutsReceiving() |
long |
getTimeoutsSending() |
void |
init(org.apache.axis2.context.ConfigurationContext configContext,
org.apache.axis2.description.TransportInDescription transportIn) |
void |
maintenenceShutdown(long l) |
void |
pause() |
void |
resetStatistics() |
void |
resume() |
void |
start() |
void |
stop() |
protected org.apache.axis2.context.ConfigurationContext configurationContext
protected int port
protected int proxyPort
public void init(org.apache.axis2.context.ConfigurationContext configContext,
org.apache.axis2.description.TransportInDescription transportIn)
throws org.apache.axis2.AxisFault
init in interface org.apache.axis2.transport.TransportListenerorg.apache.axis2.AxisFaultpublic void start()
throws org.apache.axis2.AxisFault
start in interface org.apache.axis2.transport.TransportListenerorg.apache.axis2.AxisFaultpublic void stop()
throws org.apache.axis2.AxisFault
stop in interface org.apache.axis2.transport.TransportListenerorg.apache.axis2.AxisFaultpublic org.apache.axis2.addressing.EndpointReference getEPR(String protocol, String serviceName, String ip) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic org.apache.axis2.context.SessionContext getSessionContext(org.apache.axis2.context.MessageContext messageContext)
getSessionContext in interface org.apache.axis2.transport.TransportListenerpublic void destroy()
destroy in interface org.apache.axis2.transport.TransportListenerprotected org.apache.axis2.addressing.EndpointReference genEpr(String protocol, String ip, String serviceContextPath, String serviceName) throws org.apache.axis2.AxisFault
protocol - The protocol used eg: httpip - The IP for the serviceserviceContextPath - The context pathserviceName - The name of the serviceorg.apache.axis2.AxisFault - Thrown in case of a socket exceptionpublic void pause()
throws org.apache.axis2.AxisFault
pause in interface org.apache.axis2.transport.base.ManagementSupportorg.apache.axis2.AxisFaultpublic void resume()
throws org.apache.axis2.AxisFault
resume in interface org.apache.axis2.transport.base.ManagementSupportorg.apache.axis2.AxisFaultpublic void maintenenceShutdown(long l)
throws org.apache.axis2.AxisFault
maintenenceShutdown in interface org.apache.axis2.transport.base.ManagementSupportorg.apache.axis2.AxisFaultpublic int getActiveThreadCount()
getActiveThreadCount in interface org.apache.axis2.transport.base.ManagementSupportpublic int getQueueSize()
getQueueSize in interface org.apache.axis2.transport.base.ManagementSupportpublic long getMessagesReceived()
getMessagesReceived in interface org.apache.axis2.transport.base.ManagementSupportpublic long getFaultsReceiving()
getFaultsReceiving in interface org.apache.axis2.transport.base.ManagementSupportpublic long getBytesReceived()
getBytesReceived in interface org.apache.axis2.transport.base.ManagementSupportpublic long getMessagesSent()
getMessagesSent in interface org.apache.axis2.transport.base.ManagementSupportpublic long getFaultsSending()
getFaultsSending in interface org.apache.axis2.transport.base.ManagementSupportpublic long getBytesSent()
getBytesSent in interface org.apache.axis2.transport.base.ManagementSupportpublic long getTimeoutsReceiving()
getTimeoutsReceiving in interface org.apache.axis2.transport.base.ManagementSupportpublic long getTimeoutsSending()
getTimeoutsSending in interface org.apache.axis2.transport.base.ManagementSupportpublic long getMinSizeReceived()
getMinSizeReceived in interface org.apache.axis2.transport.base.ManagementSupportpublic long getMaxSizeReceived()
getMaxSizeReceived in interface org.apache.axis2.transport.base.ManagementSupportpublic double getAvgSizeReceived()
getAvgSizeReceived in interface org.apache.axis2.transport.base.ManagementSupportpublic long getMinSizeSent()
getMinSizeSent in interface org.apache.axis2.transport.base.ManagementSupportpublic long getMaxSizeSent()
getMaxSizeSent in interface org.apache.axis2.transport.base.ManagementSupportpublic double getAvgSizeSent()
getAvgSizeSent in interface org.apache.axis2.transport.base.ManagementSupportpublic Map getResponseCodeTable()
getResponseCodeTable in interface org.apache.axis2.transport.base.ManagementSupportpublic void resetStatistics()
resetStatistics in interface org.apache.axis2.transport.base.ManagementSupportpublic long getLastResetTime()
getLastResetTime in interface org.apache.axis2.transport.base.ManagementSupportpublic long getMetricsWindow()
getMetricsWindow in interface org.apache.axis2.transport.base.ManagementSupportCopyright © 2018 WSO2 Inc. All rights reserved.