|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransportListener
Class TransportListener
Field Summary | |
---|---|
static java.lang.String |
HOST_ADDRESS
|
static java.lang.String |
PARAM_PORT
|
Method Summary | |
---|---|
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()
|
Field Detail |
---|
static final java.lang.String PARAM_PORT
static final java.lang.String HOST_ADDRESS
Method Detail |
---|
void init(ConfigurationContext axisConf, TransportInDescription transprtIn) throws AxisFault
AxisFault
void start() throws AxisFault
AxisFault
void stop() throws AxisFault
AxisFault
EndpointReference getEPRForService(java.lang.String serviceName, java.lang.String ip) throws AxisFault
serviceName
- ip
-
AxisFault
EndpointReference[] 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)
.
AxisFault
SessionContext getSessionContext(MessageContext messageContext)
messageContext
- : MessageContext which has all the relavent data
void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |