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)
          Constructor.
 
Method Summary
 Endpoint getApplicationEndpoint()
           
 int getApplicationMessageCount()
           
 BindingInfo getBindingInfo(ProtocolVariation protocol)
           
 Conduit getConduit()
           
 RMConfiguration getConfiguration()
          Get the RM configuration applied to this endpoint.
 int getControlMessageCount()
           
 Destination getDestination()
           
 Endpoint getEndpoint(ProtocolVariation protocol)
           
 long getLastApplicationMessage()
           
 long getLastControlMessage()
           
 RMManager getManager()
           
 Proxy getProxy()
           
 Servant getServant()
           
 Service getService(ProtocolVariation protocol)
           
 Source getSource()
           
 void handleAccept(String ssid, long number, Message msg)
          Handle message accepted for source sequence.
 void handleAcknowledgment(String ssid, long number, Message msg)
          Handle message acknowledgment for source sequence.
 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 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)
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(ProtocolVariation protocol)
Returns:
Returns the RM protocol endpoint.

getService

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

getBindingInfo

public BindingInfo getBindingInfo(ProtocolVariation protocol)
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.

getApplicationMessageCount

public int getApplicationMessageCount()
Returns:
The number of times 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.

getControlMessageCount

public int getControlMessageCount()
Returns:
The number of times when 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.

getConfiguration

public RMConfiguration getConfiguration()
Get the RM configuration applied to this endpoint.

Returns:
configuration

handleAccept

public void handleAccept(String ssid,
                         long number,
                         Message msg)
Handle message accepted for source sequence. This generates a callback if a receiver is set on the message.

Parameters:
ssid -
number -
msg -

handleAcknowledgment

public void handleAcknowledgment(String ssid,
                                 long number,
                                 Message msg)
Handle message acknowledgment for source sequence. This generates a notification of the acknowledgment if JMX is being used, and also generates a callback if a receiver is set on the message.

Parameters:
ssid -
number -
msg -

Apache CXF API

Apache CXF