org.csapi.jr.se.svcbroker
Interface ServiceInteraction

All Superinterfaces:
Activity, CsapiInterface, java.io.Serializable

public interface ServiceInteraction
extends Activity

This interface represents a ServiceInteraction activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 ServiceBroker getServiceBroker()
          Returns a reference to the ServiceBroker responsible for creation of the ServiceInteraction.
 void registerServiceInteraction(java.lang.String clientBrokerID, EndpointAddress endpointAddress, ServiceKey serviceKey)
          Invokes the registerServiceInteraction() method on the Parlay Gateway.
 void unregisterServiceInteraction()
          Invokes the unregisterServiceInteraction() method on the Parlay Gateway.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getServiceBroker

public ServiceBroker getServiceBroker()
Returns a reference to the ServiceBroker responsible for creation of the ServiceInteraction.

Returns:
A reference to the ServiceBroker responsible for creation of the ServiceInteraction.

registerServiceInteraction

public void registerServiceInteraction(java.lang.String clientBrokerID,
                                       EndpointAddress endpointAddress,
                                       ServiceKey serviceKey)
                                throws PlatformException,
                                       java.lang.IllegalStateException,
                                       CommonException,
                                       InvalidServiceInteractionException,
                                       InvalidCriteriaException
Invokes the registerServiceInteraction() method on the Parlay Gateway.

Throws:
PlatformException
java.lang.IllegalStateException
CommonException
InvalidServiceInteractionException
InvalidCriteriaException

unregisterServiceInteraction

public void unregisterServiceInteraction()
                                  throws PlatformException,
                                         java.lang.IllegalStateException,
                                         CommonException
Invokes the unregisterServiceInteraction() method on the Parlay Gateway.

Throws:
PlatformException
java.lang.IllegalStateException
CommonException