|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TimerFacilityServer
A suite of actions and events that provide timers. Generated from CUAE provider package Metreos.Providers.TimerFacility
| Nested Class Summary |
|---|
| 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 |
| 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. |
| Method Detail |
|---|
TimerFacility.AddTriggerTimerResult addTriggerTimer(java.lang.String sessionId,
java.lang.String timerDateTime,
java.lang.String timerRecurrenceInterval,
java.lang.String timerUserData,
TimerFacility.AddTriggerTimerOptions options)
sessionId - 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
TimerFacility.AddNonTriggerTimerResult addNonTriggerTimer(java.lang.String sessionId,
java.lang.String timerDateTime,
java.lang.String timerRecurrenceInterval,
TimerFacility.AddNonTriggerTimerOptions options)
sessionId - 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
TimerFacility.RemoveTimerResult removeTimer(java.lang.String sessionId,
java.lang.String timerId,
TimerFacility.RemoveTimerOptions options)
sessionId - 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 | ||||||||