RFA .NET
Assembly: RFA8_NET110_x64 (in RFA8_NET110_x64.dll) Version: 8.0.1.1
Registers Logger client.
Namespace: ThomsonReuters.RFA.LoggerAssembly: RFA8_NET110_x64 (in RFA8_NET110_x64.dll) Version: 8.0.1.1
Syntax
C# |
---|
public long RegisterLoggerClient( EventQueue queue, AppLoggerInterestSpec interestSpec, Client LoggerClient, Object closure ) |
Visual Basic |
---|
Public Function RegisterLoggerClient ( _ queue As EventQueue, _ interestSpec As AppLoggerInterestSpec, _ LoggerClient As Client, _ closure As Object _ ) As Long |
Visual C++ |
---|
public: long long RegisterLoggerClient( EventQueue^ queue, AppLoggerInterestSpec^ interestSpec, Client^ LoggerClient, Object^ closure ) |
F# |
---|
member RegisterLoggerClient : queue:EventQueue * interestSpec:AppLoggerInterestSpec * LoggerClient:Client * closure:Object -> int64 |
Parameters
- queue
- Type: ThomsonReuters.RFA.Common..::..EventQueue
EventQueue to which post events.
- interestSpec
- Type: ThomsonReuters.RFA.Logger..::..AppLoggerInterestSpec
Interest Specification for registered client.
- LoggerClient
- Type: ThomsonReuters.RFA.Common..::..Client
The logger client callback.
- closure
- Type: System..::..Object
An optional handle to user defined data. This Closure is contained in each Event corresponding to this interest specification.
Return Value
Handle identifying registered event.
Remarks
Once the client is registered, every message will log into the queue and LoggerNotifyEvent will be dispatched to the client for the processing through the client's ProcessEvent() method.
Exceptions
Exception | Condition |
---|---|
ThomsonReuters.RFA.Common..::..InvalidUsageException | Invalid Usage. |