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

Add a callback for after the given milliseconds from 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)
Public Sub Add ( _
	afterMSec As Long, _
	callback As ScheduleCallback, _
	slot As ScheduleSlot _
)
C#
public void Add (
	long afterMSec,
	ScheduleCallback callback,
	ScheduleSlot slot
)
Visual C++
public:
virtual void Add (
	long long afterMSec, 
	ScheduleCallback^ callback, 
	ScheduleSlot^ slot
) sealed

Parameters

afterMSec
System.Int64
number of millisec to get a callback
callback
net.esper.schedule.ScheduleCallback
to add
slot
net.esper.schedule.ScheduleSlot
allows ordering of concurrent callbacks