RFA .NET
Opens an event stream for this interest specification on this OMMConsumer.

Namespace: ThomsonReuters.RFA.SessionLayer
Assembly: RFA8_NET110_x64 (in RFA8_NET110_x64.dll) Version: 8.0.1.1

Syntax

C#
public long RegisterClient(
	EventQueue queue,
	OMMIntSpec cInterestSpec,
	Client client,
	Object closure
)
Visual Basic
Public Function RegisterClient ( _
	queue As EventQueue, _
	cInterestSpec As OMMIntSpec, _
	client As Client, _
	closure As Object _
) As Long
Visual C++
public:
long long RegisterClient(
	EventQueue^ queue, 
	OMMIntSpec^ cInterestSpec, 
	Client^ client, 
	Object^ closure
)
F#
member RegisterClient : 
        queue:EventQueue * 
        cInterestSpec:OMMIntSpec * 
        client:Client * 
        closure:Object -> int64 

Parameters

queue
Type: ThomsonReuters.RFA.Common..::..EventQueue
EventQueue to which events are to be posted.
cInterestSpec
Type: ThomsonReuters.RFA.SessionLayer..::..OMMIntSpec
OMMConsumer Interest Specification. The interaction type of request message contained in the OMMIntSpec is valid in any one of the cases:

- ReqMsg.InteractionTypeFlag.InitialImage - request to receive item's image only(a.k.a. "Snapshot").

- (ReqMsg.InteractionTypeFlag.InitialImage | ReqMsg.InteractionTypeFlag.InterestAfterRefresh) - request to receive item's image and updates (a.k.a. "Streaming").

- (ReqMsg.InteractionTypeFlag.InitialImage | ReqMsg.InteractionTypeFlag.InterestAfterRefresh | ReqMsg.InteractionTypeFlag.Pause) - request to receive item's image; updates will be sent after item is resumed (a.k.a. "Paused Streaming").

client
Type: ThomsonReuters.RFA.Common..::..Client
The 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

Unique handle to be used to close the event stream via the UnregisterClient() method or to modify the original request with ReissueClient() method.

Remarks

Exceptions

See Also