|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.transport.base.ProtocolEndpoint org.apache.axis2.transport.base.datagram.DatagramEndpoint org.apache.axis2.transport.udp.Endpoint
public class Endpoint
UDP endpoint description.
Constructor Summary | |
---|---|
Endpoint()
|
Method Summary | |
---|---|
org.apache.axis2.addressing.EndpointReference[] |
getEndpointReferences(java.lang.String ip)
Get the endpoint references for this protocol endpoint. |
int |
getMaxPacketSize()
|
int |
getPort()
|
boolean |
loadConfiguration(org.apache.axis2.description.ParameterInclude params)
Configure the endpoint based on the provided parameters. |
Methods inherited from class org.apache.axis2.transport.base.datagram.DatagramEndpoint |
---|
getContentType, getMetrics, setMetrics |
Methods inherited from class org.apache.axis2.transport.base.ProtocolEndpoint |
---|
createMessageContext, getListener, getService, getServiceName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Endpoint()
Method Detail |
---|
public int getPort()
public int getMaxPacketSize()
public boolean loadConfiguration(org.apache.axis2.description.ParameterInclude params) throws org.apache.axis2.AxisFault
ProtocolEndpoint
false
. An exception should only be thrown if there is an
error or inconsistency in the parameters.
loadConfiguration
in class DatagramEndpoint
params
- The source of the parameters to construct the
poll table entry. If the parameters are defined on
a service, this will be an AxisService
instance.
true
if the parameters contained the required configuration
information and the endpoint has been configured, false
if
the no configuration for the endpoint is present in the parameters
org.apache.axis2.AxisFault
- if configuration information is present, but there is an
error or inconsistency in the parameterspublic org.apache.axis2.addressing.EndpointReference[] getEndpointReferences(java.lang.String ip) throws org.apache.axis2.AxisFault
ProtocolEndpoint
getEndpointReferences
in class ProtocolEndpoint
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)
.
org.apache.axis2.AxisFault
TransportListener.getEPRsForService(String, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |