Instantiate an LBM Receiver object associated with a given context,
topic, and event queue, with an initial receiver callback and callback object set.
![](../icons/collapse_all.gif)
C# |
public LBMReceiver( LBMContext lbmctx, LBMTopic lbmtopic, LBMReceiverCallback cb, Object cbArg, LBMEventQueue lbmevq )
![](../icons/collapse_all.gif)
- 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)
![](../icons/collapse_all.gif)
Warning: It is not safe to call this constructor from a context thread callback.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
Topic is not a receiver topic | |
Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |