Apache CXF API

org.apache.cxf.ws.rm
Class RMEndpoint

java.lang.Object
  extended by org.apache.cxf.ws.rm.RMEndpoint

public class RMEndpoint
extends Object


Constructor Summary
RMEndpoint(RMManager m, Endpoint ae, ProtocolVariation pv)
          Constructor.
 
Method Summary
 Endpoint getApplicationEndpoint()
           
 BindingInfo getBindingInfo()
           
 Conduit getConduit()
           
 Destination getDestination()
           
 Endpoint getEndpoint()
           
 long getLastApplicationMessage()
           
 long getLastControlMessage()
           
 RMManager getManager()
           
 ProtocolVariation getProtocol()
           
 Proxy getProxy()
           
 Servant getServant()
           
 Service getService()
           
 Source getSource()
           
 void receivedApplicationMessage()
          Indicates that an application message has been received.
 void receivedControlMessage()
          Indicates that an RM protocol message has been received.
 void setDestination(Destination destination)
           
 void setProtocol(ProtocolVariation protocol)
          Set the protocol used by this endpoint.
 void setSource(Source source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMEndpoint

public RMEndpoint(RMManager m,
                  Endpoint ae,
                  ProtocolVariation pv)
Constructor.

Parameters:
m -
ae -
pv -
Method Detail

getManager

public RMManager getManager()
Returns:
Returns the bus.

getApplicationEndpoint

public Endpoint getApplicationEndpoint()
Returns:
Returns the application endpoint.

getEndpoint

public Endpoint getEndpoint()
Returns:
Returns the RM protocol endpoint.

getProtocol

public ProtocolVariation getProtocol()

setProtocol

public void setProtocol(ProtocolVariation protocol)
Set the protocol used by this endpoint. This method is only intended for use in testing; all normal use uses the constructor to set the value.

Parameters:
protocol -

getService

public Service getService()
Returns:
Returns the RM protocol service.

getBindingInfo

public BindingInfo getBindingInfo()
Returns:
Returns the RM protocol binding info.

getProxy

public Proxy getProxy()
Returns:
Returns the proxy.

getServant

public Servant getServant()
Returns:
Returns the servant.

getDestination

public Destination getDestination()
Returns:
Returns the destination.

setDestination

public void setDestination(Destination destination)
Parameters:
destination - The destination to set.

getSource

public Source getSource()
Returns:
Returns the source.

setSource

public void setSource(Source source)
Parameters:
source - The source to set.

getLastApplicationMessage

public long getLastApplicationMessage()
Returns:
The time when last application message was received.

receivedApplicationMessage

public void receivedApplicationMessage()
Indicates that an application message has been received.


getLastControlMessage

public long getLastControlMessage()
Returns:
The time when last RM protocol message was received.

receivedControlMessage

public void receivedControlMessage()
Indicates that an RM protocol message has been received.


getConduit

public Conduit getConduit()
Returns:
Returns the conduit.

Apache CXF API

Apache CXF