|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetch.bindings.java.support.RemoteBase
cisco.uc.cuae.legacy.RemoteTimerFacility
cisco.uc.cuae.legacy.RemoteTimerFacilityServer
public final class RemoteTimerFacilityServer
Call to message translator for TimerFacilityServer.
| Nested Class Summary | |
|---|---|
class |
RemoteTimerFacilityServer._Async
Asynchronous implementation of service methods. |
| Nested classes/interfaces inherited from interface cisco.uc.cuae.legacy.TimerFacility |
|---|
TimerFacility.AddNonTriggerTimerOptions, TimerFacility.AddNonTriggerTimerResult, TimerFacility.AddTriggerTimerOptions, TimerFacility.AddTriggerTimerResult, TimerFacility.RemoveTimerOptions, TimerFacility.RemoveTimerResult, TimerFacility.TimerFireOptions |
| Nested classes/interfaces inherited from interface cisco.uc.cuae.legacy.CuaeCommon |
|---|
CuaeCommon.CuaeResult |
| Field Summary | |
|---|---|
RemoteTimerFacilityServer._Async |
_async
RemoteTimerFacilityServer._Async class instance used to hide asynchronous message
implementation. |
RemoteTimerFacilityServer._Async |
_inner
Deprecated. |
| Constructor Summary | |
|---|---|
RemoteTimerFacilityServer(etch.bindings.java.support.DeliveryService svc,
etch.bindings.java.msg.ValueFactory vf)
Constructs the RemoteTimerFacilityServer. |
|
| Method Summary | |
|---|---|
TimerFacility.AddNonTriggerTimerResult |
addNonTriggerTimer(java.lang.String sessionId,
java.lang.String timerDateTime,
java.lang.String timerRecurrenceInterval,
TimerFacility.AddNonTriggerTimerOptions options)
AddNonTriggerTimer will set a timer which will attempt to route to the same script which initated the timer. |
TimerFacility.AddTriggerTimerResult |
addTriggerTimer(java.lang.String sessionId,
java.lang.String timerDateTime,
java.lang.String timerRecurrenceInterval,
java.lang.String timerUserData,
TimerFacility.AddTriggerTimerOptions options)
AddTriggerTimer will set a timer which will attempt to trigger a new script when fired. |
TimerFacility.RemoveTimerResult |
removeTimer(java.lang.String sessionId,
java.lang.String timerId,
TimerFacility.RemoveTimerOptions options)
RemoveTimer will cancel the specified timer. |
| Methods inherited from class etch.bindings.java.support.RemoteBase |
|---|
_begincall, _endcall, _newMessage, _send, _start, _startAndWaitUp, _stop, _stopAndWaitDown, _transportControl, _transportNotify, _transportQuery, _waitDown, _waitUp, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final RemoteTimerFacilityServer._Async _async
RemoteTimerFacilityServer._Async class instance used to hide asynchronous message
implementation. Use this to invoke the asynchronous message
implementations.
@Deprecated public final RemoteTimerFacilityServer._Async _inner
RemoteTimerFacilityServer._Async class instance used to hide asynchronous message
implementation. This is here for backwards compatibility only, use
_async instead.
| Constructor Detail |
|---|
public RemoteTimerFacilityServer(etch.bindings.java.support.DeliveryService svc,
etch.bindings.java.msg.ValueFactory vf)
svc - vf - | Method Detail |
|---|
public final TimerFacility.AddTriggerTimerResult addTriggerTimer(java.lang.String sessionId,
java.lang.String timerDateTime,
java.lang.String timerRecurrenceInterval,
java.lang.String timerUserData,
TimerFacility.AddTriggerTimerOptions options)
TimerFacilityServer
addTriggerTimer in interface TimerFacilityServersessionId - The session Id for this method calltimerDateTime - The initial time to fire the TimerFire event. This
value must be in a .NET Framework System.DateTime
parseable string or a .NET System.DateTime object. As
an example of specifying the DateTime object, one can
set a timer that will fire 5 seconds from the moment
the AddTriggerTimer action is used by using the
following C# snippet:
System.DateTime.Now.AddSeconds(5).timerRecurrenceInterval - If specified, this timer will reoccur
indefinitely until the timer is removed via
RemoveTimer. This action parameter sets the
value of the period of the timer that will
be applied to this timer after the first
occurrence of the timer occurs. This value
must be in a .NET System.TimeSpan parseable
string. As an example of specifying a
TimeSpan of 5 minutes, the following C#
snippet could be used:
System.TimeSpan.FromMinutes(5). If this
parameter is not specified, then the timer
will only be fired once.timerUserData - An opaque token used to allow distinguishable timer
events to be raised. The value specified here will be
sent back in the TimerFire event as an event
parameter. For the triggering timer, a best practice
is to specifiy a well-known value for this field so
that the administrator of the Cisco Unified
Application Server can set this value as a trigger
parameter on the other TimerFire script associated
with the application.options - An object holding all the optional parameters
public final TimerFacility.AddNonTriggerTimerResult addNonTriggerTimer(java.lang.String sessionId,
java.lang.String timerDateTime,
java.lang.String timerRecurrenceInterval,
TimerFacility.AddNonTriggerTimerOptions options)
TimerFacilityServer
addNonTriggerTimer in interface TimerFacilityServersessionId - The session Id for this method calltimerDateTime - The initial time to fire the TimerFire event. This
value must be in a .NET Framework System.DateTime
parseable string or a .NET System.DateTime object. As
an example of specifying the DateTime object, one can
set a timer that will fire 5 seconds from the moment
the AddTriggerTimer action is used by using the
following C# snippet:
System.DateTime.Now.AddSeconds(5).timerRecurrenceInterval - If specified, this timer will reoccur
indefinitely until the timer is removed via
RemoveTimer. This action parameter sets the
value of the period of the timer that will
be applied to this timer after the first
occurrence of the timer occurs. This value
must be in a .NET System.TimeSpan parseable
string. As an example of specifying a
TimeSpan of 5 minutes, the following C#
snippet could be used:
System.TimeSpan.FromMinutes(5). If this
parameter is not specified, then the timer
will only be fired once.options - An object holding all the optional parameters
public final TimerFacility.RemoveTimerResult removeTimer(java.lang.String sessionId,
java.lang.String timerId,
TimerFacility.RemoveTimerOptions options)
TimerFacilityServer
removeTimer in interface TimerFacilityServersessionId - The session Id for this method calltimerId - The identifier to the timer to remove. This value originates
from either the AddTriggerTimer or AddNonTriggerTimer
action.options - An object holding all the optional parameters
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||