Instantiate an LBM Wildcard Receiver object (associated with a specified
event queue) that will receive messages sent to any topic matching the
given pattern
Declaration Syntax
C# |
public LBMWildcardReceiver( LBMContext lbmctx, string pattern, LBMReceiverAttributes lbmrcvattr, LBMWildcardReceiverAttributes lbmwrcvattr, LBMEventQueue lbmevq )
Parameters
- lbmctx (LBMContext)
- Context with which to associate the wildcard receiver
- pattern (String)
- Pattern used to match topic strings
- lbmrcvattr (LBMReceiverAttributes)
- LBMReceiverAttributes to be associated with this wildcard receiver
- lbmwrcvattr (LBMWildcardReceiverAttributes)
- LBMWildcardReceiverAttributes to be associated with this wildcard receiver
- lbmevq (LBMEventQueue)
- Event queue with which to associate the receiver (all receiver events will be posted to this event queue)
Remarks
ATTENTION: An application should have at least one receiver callback
registered per receiver object. Use of this constructor creates a window
after receiver creation and before adding a callback in which
messages may be lost; therefore, its using this constructor is not recommended.
Use a constructor that specifies at least one initial callback instead.
Warning: It is not safe to call this constructor from a context thread callback.
Exceptions
Exception | Condition |
---|---|
Invalid argument or unexpected operational behavior has been encountered by unmanaged LBM C layer function. |