RFA .NET
The RFA Session Layer package provides data-neutral subscription, publication and contribution access to Elektron and the Elektron Platform through a high - performance thread - aware solution.

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

Syntax

C#
public sealed class Session
Visual Basic
Public NotInheritable Class Session
Visual C++
public ref class Session sealed
F#
[<SealedAttribute>]
type Session =  class end

Remarks

This Session encapsulates one or more connections to back-end systems. An RFA application (i.e. an application that uses the RFA API) creates one or more Sessions thereby establishing connectivity with various back-end systems.

To obtain the Session interface an application calls the static method, Acquire(). This method takes one parameter, the Session name, and returns a handle to a Session object.

The semantics of the Acquire() method is to support instance sharing. The implementation of the Acquire() method uses the session name passed as a parameter to find an existing instance that has this name. If such an instance does not exist, then the implementation will instantiate a new object that supports the Session interface. The session name parameter is also used to define the session configuration - primarily to define the set of connections that this Session should use.

For every Acquire() call in the application, it must call the Release() method to notify the Session Layer implementation that the current Session instance is not needed anymore. Once a component within an application calls the Release() method, it should never use a reference or a handle to that Session again.

Inheritance Hierarchy

System..::..Object
  ThomsonReuters.RFA.SessionLayer..::..Session

See Also