hp.telephony.media
Interface ResourceConstants

All Known Subinterfaces:
ASRRecorderEvent, Conference, EchoCanceller, EchoSimulator, FaxEvent, FaxPlayerRecorder, Player, PlayerEvent, Recorder, RecorderEvent, Resource, ResourceEvent, RTPPlayer, RTPRecorder, SignalDetector, SignalDetectorEvent, SignalGenerator, SignalGeneratorEvent, SilencePlayer, SMSPlayerEvent, SMSPlayerRecorder, SMSRecorderEvent, SpeechDetector, TTSPlayerEvent
All Known Implementing Classes:
AsyncMediaGroup, ResourceSpec.Operator

public interface ResourceConstants

Defines the constants used by Resource and ResourceEvent. As these are inherited by every Resource and ResourceEvent class, they are accessible from each of those classes or instances.

Since:
OCMP 2.0

Field Summary
static Symbol e_Disconnected
          Symbol returned from ResourceEvent.getError() when an operation fails because the associated Terminal is in the Connection.DISCONNECTED state.
static Symbol e_OK
          Symbol returned from ResourceEvent.getError() if there is no error.
static int FOREVER
          Special int value (-1) used to indicate infinite timeout.
static Symbol q_Duration
          Symbol returned from ResourceEvent.getQualifier() if an operation completed because the requested duration was reached.
static Symbol q_RTC
          Qualifier: Completion caused by a Run-Time Control.
static Symbol q_Standard
          Qualifier: normal, default completion.
static Symbol q_Stop
          Qualifier: Completion caused by a Stop.
static Symbol rtcc_Disconnected
          RTC Trigger: Operation terminated because the Connection to the associated Terminal is in the Connection DISCONNECTED state.
static Symbol rtcc_TriggerRTC
          The Symbol returned from ResourceEvent.getRTCTrigger() representing the RTC Condition for ResourceEvents
static Integer v_Forever
          Integer value for FOREVER, when used in a value in a Dictionary
 

Field Detail

FOREVER

public static final int FOREVER
Special int value (-1) used to indicate infinite timeout.

See Also:
Constant Field Values

v_Forever

public static final Integer v_Forever
Integer value for FOREVER, when used in a value in a Dictionary


e_Disconnected

public static final Symbol e_Disconnected
Symbol returned from ResourceEvent.getError() when an operation fails because the associated Terminal is in the Connection.DISCONNECTED state.


e_OK

public static final Symbol e_OK
Symbol returned from ResourceEvent.getError() if there is no error.


q_Duration

public static final Symbol q_Duration
Symbol returned from ResourceEvent.getQualifier() if an operation completed because the requested duration was reached.


q_Standard

public static final Symbol q_Standard
Qualifier: normal, default completion.


q_Stop

public static final Symbol q_Stop
Qualifier: Completion caused by a Stop. Normal response from operations stopped by MediaService.stop() method.


q_RTC

public static final Symbol q_RTC
Qualifier: Completion caused by a Run-Time Control.


rtcc_Disconnected

public static final Symbol rtcc_Disconnected
RTC Trigger: Operation terminated because the Connection to the associated Terminal is in the Connection DISCONNECTED state. This is delivered in a ResourceEvent via DisconnectedException.


rtcc_TriggerRTC

public static final Symbol rtcc_TriggerRTC
The Symbol returned from ResourceEvent.getRTCTrigger() representing the RTC Condition for ResourceEvents