Register a receiver for monitoring.

C# |
public void start( LBMReceiver lbmrcv, string appSourceId, int secs )

- lbmrcv (LBMReceiver)
- LBMReceiver to be monitored
- appSourceId (String)
- String containing an application-specified source identifier. If null or an empty string is passed, the application name will be used.
- secs (Int32)
- Interval (in seconds) at which monitoring information will be gathered and sent. If zero, the receiver will not be automatically monitored, but instead will be monitored upon a call to the sample() method.

Monitoring may be done at regular intervals, specified by
the secs parameter. As an alternative, passing zero for
secs will not automatically monitor the context, but instead
require an explicit call to the sample() method.
If monitoring is to be used as a form of heartbeat, the preferred method is to call the sample() method from a context thread or event queue timer callback. This ensures that the object actually processing the messages is the one generating the monitoring statistics, guaranteeing that it is truly acting as a heartbeat mechanism.

Exception | Condition |
---|---|
Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |