Instantiate an LBM Receiver object associated with a given context,
topic, and event queue, with an initial receiver callback and callback object set.
Declaration Syntax
C# |
public LBMReceiver( LBMContext lbmctx, LBMTopic lbmtopic, LBMReceiverCallback cb, Object cbArg, LBMEventQueue lbmevq )
Parameters
- lbmctx (LBMContext)
- Context with which to associate the receiver
- lbmtopic (LBMTopic)
- LBMTopic used to initialize the receiver
- cb (LBMReceiverCallback)
- Callback implementing the LBMReceiverCallback delegate interface
- cbArg (Object)
- Callback object passed as token to callback interface
- lbmevq (LBMEventQueue)
- Event queue with which to associate the receiver (all receiver events will be posted to this event queue)
Remarks
Warning: It is not safe to call this constructor from a context thread callback.
Exceptions
Exception | Condition |
---|---|
Topic is not a receiver topic | |
Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |