public interface TransportListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HOST_ADDRESS |
static java.lang.String |
PARAM_PORT |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
EndpointReference |
getEPRForService(java.lang.String serviceName,
java.lang.String ip)
Deprecated.
Transport listener can expose more than EPRs. So this method should return an array of EPRs.
Deprecating this method for now and please use getEPRsForServices instead.
|
EndpointReference[] |
getEPRsForService(java.lang.String serviceName,
java.lang.String ip)
Get the endpoint references for a given service.
|
SessionContext |
getSessionContext(MessageContext messageContext)
To get the sessionContext transport dependent manner.
|
void |
init(ConfigurationContext axisConf,
TransportInDescription transprtIn) |
void |
start() |
void |
stop() |
static final java.lang.String PARAM_PORT
static final java.lang.String HOST_ADDRESS
void init(ConfigurationContext axisConf, TransportInDescription transprtIn) throws AxisFault
AxisFaultEndpointReference getEPRForService(java.lang.String serviceName, java.lang.String ip) throws AxisFault
serviceName - ip - AxisFaultEndpointReference[] getEPRsForService(java.lang.String serviceName, java.lang.String ip) throws AxisFault
serviceName - TODO: this is actually not simply the service name!ip - The host name or IP address of the local host. The implementation should use
this information instead of InetAddress.getLocalHost().
The value of this parameter may be null, in which case the
implementation should use Utils.getIpAddress(
org.apache.axis2.engine.AxisConfiguration).AxisFaultSessionContext getSessionContext(MessageContext messageContext)
messageContext - : MessageContext which has all the relavent datavoid destroy()
Copyright © 2004-2018 The Apache Software Foundation. All Rights Reserved.