LBM .Net API Documentation
LBMTimer Constructor (lbmctx, milliseconds, cb, cbArg, lbmevq)
Namespacescom.latencybusters.lbmLBMTimerLBMTimer(LBMContext, Int64, LBMTimerCallback, Object, LBMEventQueue)
Creates a timer associated with a specific context and event queue that expires with a specified delay.
Declaration Syntax
C#
public LBMTimer(
	LBMContext lbmctx,
	long milliseconds,
	LBMTimerCallback cb,
	Object cbArg,
	LBMEventQueue lbmevq
)
Parameters
lbmctx (LBMContext)
LBMContext object with which to associate this timer (determines which LBM thread will execute the timer function)
milliseconds (Int64)
Number of milliseconds until the timer expires
cb (LBMTimerCallback)
Callback implementing the LBMTimerCallback delegate interface
cbArg (Object)
Callback object passed as token to callback interface
lbmevq (LBMEventQueue)
Event queue with which to associate this timer
Remarks
A zero duration timer is legal and causes the associated callback to be called as soon as possible on the context thread or to be enqueued as an event on the associated event queue. In this case, the event queue dispatching thread calls the associated callback after all currently pending events have been dispatched.
Exceptions
ExceptionCondition
Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function.

Assembly: lbmcs (Module: lbmcs) Version: 6.7.1.0