org.csapi.jr.se
Interface Service

All Superinterfaces:
CsapiInterface, java.io.Serializable
All Known Subinterfaces:
AccountManager, Call, CallControlManager, CallLeg, ChargingManager, ChargingSession, ConfCall, ConfCallControlManager, DataSession, DataSessionControlManager, ExtendedTerminalCapabilities, Mailbox, MultiMediaCall, MultiMediaCallControlManager, MultiMediaCallLeg, MultiMediaMessaging, MultiMediaMessagingManager, MultiMediaStream, MultiPartyCall, MultiPartyCallControlManager, PAMAgentAssignment, PAMAgentManagement, PAMAgentTypeManagement, PAMAvailability, PAMCapabilityManagement, PAMEventHandler, PAMEventManager, PAMIdentityManagement, PAMIdentityPresence, PAMIdentityTypeManagement, PAMPresenceAvailabilityManager, PAMProvisioningManager, Policy, PolicyAction, PolicyCondition, PolicyDomain, PolicyEvalManager, PolicyEventAction, PolicyEventCondition, PolicyEventDefinition, PolicyExpressionAction, PolicyExpressionCondition, PolicyGroup, PolicyIterator, PolicyManager, PolicyRepository, PolicyRule, PolicySignature, PolicyTimePeriodCondition, ServiceBroker, SubConfCall, 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(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(ServiceStateChangeListener listener)
          Removes an object to the list of objects that are listening for events regarding the Service State
 

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(ServiceStateChangeListener listener)
Add an object to the list of objects that are listening for events regarding the Service State

Parameters:
listener - Object implementing ServiceStateChangeListener interface.

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(ServiceStateChangeListener listener)
Removes an object to the list of objects that are listening for events regarding the Service State

Parameters:
listener - Object implementing ServiceStateChangeListener interface.