org.apache.synapse.transport.base.datagram
Class DatagramEndpoint

java.lang.Object
  extended by org.apache.synapse.transport.base.datagram.DatagramEndpoint
Direct Known Subclasses:
Endpoint, PipeEndpoint

public abstract class DatagramEndpoint
extends Object

Endpoint description. This class is used by the transport to store information about an endpoint, e.g. the Axis service it is bound to. Transports extend this abstract class to store additional transport specific information, such as the port number the transport listens on.


Constructor Summary
DatagramEndpoint()
           
 
Method Summary
 String getContentType()
           
abstract  EndpointReference getEndpointReference(String ip)
           
 AbstractDatagramTransportListener getListener()
           
 MetricsCollector getMetrics()
           
 AxisService getService()
           
 void setContentType(String contentType)
           
 void setListener(AbstractDatagramTransportListener listener)
           
 void setMetrics(MetricsCollector metrics)
           
 void setService(AxisService service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatagramEndpoint

public DatagramEndpoint()
Method Detail

getListener

public AbstractDatagramTransportListener getListener()

setListener

public void setListener(AbstractDatagramTransportListener listener)

getContentType

public String getContentType()

setContentType

public void setContentType(String contentType)

getService

public AxisService getService()

setService

public void setService(AxisService service)

getMetrics

public MetricsCollector getMetrics()

setMetrics

public void setMetrics(MetricsCollector metrics)

getEndpointReference

public abstract EndpointReference getEndpointReference(String ip)


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.