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.TransportListener
org.apache.axis2.AxisFault
public void start() throws org.apache.axis2.AxisFault
start
in interface org.apache.axis2.transport.TransportListener
org.apache.axis2.AxisFault
public void stop() throws org.apache.axis2.AxisFault
stop
in interface org.apache.axis2.transport.TransportListener
org.apache.axis2.AxisFault
public org.apache.axis2.addressing.EndpointReference getEPR(String protocol, String serviceName, String ip) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public org.apache.axis2.context.SessionContext getSessionContext(org.apache.axis2.context.MessageContext messageContext)
getSessionContext
in interface org.apache.axis2.transport.TransportListener
public void destroy()
destroy
in interface org.apache.axis2.transport.TransportListener
protected 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.ManagementSupport
org.apache.axis2.AxisFault
public void resume() throws org.apache.axis2.AxisFault
resume
in interface org.apache.axis2.transport.base.ManagementSupport
org.apache.axis2.AxisFault
public void maintenenceShutdown(long l) throws org.apache.axis2.AxisFault
maintenenceShutdown
in interface org.apache.axis2.transport.base.ManagementSupport
org.apache.axis2.AxisFault
public int getActiveThreadCount()
getActiveThreadCount
in interface org.apache.axis2.transport.base.ManagementSupport
public int getQueueSize()
getQueueSize
in interface org.apache.axis2.transport.base.ManagementSupport
public long getMessagesReceived()
getMessagesReceived
in interface org.apache.axis2.transport.base.ManagementSupport
public long getFaultsReceiving()
getFaultsReceiving
in interface org.apache.axis2.transport.base.ManagementSupport
public long getBytesReceived()
getBytesReceived
in interface org.apache.axis2.transport.base.ManagementSupport
public long getMessagesSent()
getMessagesSent
in interface org.apache.axis2.transport.base.ManagementSupport
public long getFaultsSending()
getFaultsSending
in interface org.apache.axis2.transport.base.ManagementSupport
public long getBytesSent()
getBytesSent
in interface org.apache.axis2.transport.base.ManagementSupport
public long getTimeoutsReceiving()
getTimeoutsReceiving
in interface org.apache.axis2.transport.base.ManagementSupport
public long getTimeoutsSending()
getTimeoutsSending
in interface org.apache.axis2.transport.base.ManagementSupport
public long getMinSizeReceived()
getMinSizeReceived
in interface org.apache.axis2.transport.base.ManagementSupport
public long getMaxSizeReceived()
getMaxSizeReceived
in interface org.apache.axis2.transport.base.ManagementSupport
public double getAvgSizeReceived()
getAvgSizeReceived
in interface org.apache.axis2.transport.base.ManagementSupport
public long getMinSizeSent()
getMinSizeSent
in interface org.apache.axis2.transport.base.ManagementSupport
public long getMaxSizeSent()
getMaxSizeSent
in interface org.apache.axis2.transport.base.ManagementSupport
public double getAvgSizeSent()
getAvgSizeSent
in interface org.apache.axis2.transport.base.ManagementSupport
public Map getResponseCodeTable()
getResponseCodeTable
in interface org.apache.axis2.transport.base.ManagementSupport
public void resetStatistics()
resetStatistics
in interface org.apache.axis2.transport.base.ManagementSupport
public long getLastResetTime()
getLastResetTime
in interface org.apache.axis2.transport.base.ManagementSupport
public long getMetricsWindow()
getMetricsWindow
in interface org.apache.axis2.transport.base.ManagementSupport
Copyright © 2016 WSO2 Inc. All rights reserved.