[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Add a callback for a time specified by the schedule specification passed in based on the current time. If the same callback (equals) was already added before, the method will not add a new callback or change the existing callback to a new time, but throw an exception.

Namespace: net.esper.schedule
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Sub Add ( _
	scheduleSpec As ScheduleSpec, _
	callback As ScheduleCallback, _
	slot As ScheduleSlot _
)
C#
void Add (
	ScheduleSpec scheduleSpec,
	ScheduleCallback callback,
	ScheduleSlot slot
)
Visual C++
void Add (
	ScheduleSpec^ scheduleSpec, 
	ScheduleCallback^ callback, 
	ScheduleSlot^ slot
)

Parameters

scheduleSpec
net.esper.schedule.ScheduleSpec
holds the crontab-like information defining the next occurance
callback
net.esper.schedule.ScheduleCallback
to add
slot
net.esper.schedule.ScheduleSlot
allows ordering of concurrent callbacks