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