org.csapi.jr.se
Interface Service

All Superinterfaces:
CsapiInterface, java.io.Serializable
All Known Subinterfaces:
AccountManager, Call, CallControlManager, CallLeg, ChargingManager, ChargingSession, DataSession, DataSessionControlManager, ExtendedTerminalCapabilities, MultiMediaCall, MultiMediaCallControlManager, MultiMediaCallLeg, MultiMediaStream, MultiPartyCall, MultiPartyCallControlManager, PAMAgentAssignment, PAMAgentManagement, PAMAgentTypeManagement, PAMAvailability, PAMCapabilityManagement, PAMEventHandler, PAMEventManager, PAMIdentityManagement, PAMIdentityPresence, PAMIdentityTypeManagement, PAMPresenceAvailabilityManager, PAMProvisioningManager, Policy, Policy, PolicyAction, PolicyAction, PolicyCondition, PolicyCondition, PolicyDomain, PolicyDomain, PolicyEvalManager, PolicyEventAction, PolicyEventAction, PolicyEventCondition, PolicyEventCondition, PolicyEventDefinition, PolicyEventDefinition, PolicyExpressionAction, PolicyExpressionAction, PolicyExpressionCondition, PolicyExpressionCondition, PolicyGroup, PolicyGroup, PolicyIterator, PolicyIterator, PolicyManager, PolicyManager, PolicyRepository, PolicyRepository, PolicyRule, PolicyRule, PolicySignature, PolicyTimePeriodCondition, PolicyTimePeriodCondition, TerminalCapabilities, TriggeredUserLocation, UI, UIAdminManager, UICall, UIGeneric, UIManager, UserLocation, UserLocationCamel, UserStatus

public interface Service
extends CsapiInterface

All service interfaces inherit from the following interface.


Field Summary
static int IN_SERVICE_STATE
          This constant represents the IN_SERVICE_STATE state.
static int OUT_OF_SERVICE_STATE
          This constant represents the OUT_OF_SERVICE_STATE state.
 
Method Summary
 void addServiceStateChangeListener(org.csapi.jr.se.ServiceStateChangeListener listener)
          Add an object to the list of objects that are listening for events regarding the Service State
 int getServiceState()
          Returns the service state the object is in.
 void removeServiceStateChangeListener(org.csapi.jr.se.ServiceStateChangeListener listener)
          Removes an object to the list of objects that are listening for events regarding the Service State
 void setCallback(org.csapi.jr.se.CsapiInterface appInterface)
          This method specifies the reference address of the callback interface that a service uses to invoke methods on the application.
It is not allowed to invoke this method on an interface that uses SessionIDs.
 

Field Detail

IN_SERVICE_STATE

public static final int IN_SERVICE_STATE
This constant represents the IN_SERVICE_STATE state.

See Also:
Constant Field Values

OUT_OF_SERVICE_STATE

public static final int OUT_OF_SERVICE_STATE
This constant represents the OUT_OF_SERVICE_STATE state.

See Also:
Constant Field Values
Method Detail

addServiceStateChangeListener

public void addServiceStateChangeListener(org.csapi.jr.se.ServiceStateChangeListener listener)
Add an object to the list of objects that are listening for events regarding the Service State


getServiceState

public int getServiceState()
Returns the service state the object is in.

Returns:
One of OUT_OF_SERVICE_STATE, IN_SERVICE_STATE

removeServiceStateChangeListener

public void removeServiceStateChangeListener(org.csapi.jr.se.ServiceStateChangeListener listener)
Removes an object to the list of objects that are listening for events regarding the Service State


setCallback

public void setCallback(org.csapi.jr.se.CsapiInterface appInterface)
                 throws CommonException,
                        InvalidInterfaceTypeException,
                        PlatformException
This method specifies the reference address of the callback interface that a service uses to invoke methods on the application.
It is not allowed to invoke this method on an interface that uses SessionIDs.

Parameters:
appInterface - Specifies a reference to the application interface, which is used for callbacks.
CommonException
InvalidInterfaceTypeException
PlatformException