Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

StreamSec.Snif.Session

Feature notes: Snif remoting framework (concepts)

Classes, interfaces and records

classTsnifSession

inherits from TsnifCustomUserContext

constructor Create(const aName: string); class function SupportsInstanceKind(aKind: TsnifInstanceKind): Boolean; override;
Returns True if aKind is perSession and perSessionPooled; otherwise False.
class function SupportsMediatorKind(aKind: TsnifMediatorKind): Boolean; override;
Returns True if aKind is viaSession; otherwise False.
function _AddRef: Integer; {$IFDEF COM_CDECL}cdecl{$ELSE}stdcall{$ENDIF};
Delegates to AtomicIncrement, forwarding fRefCount, and returns its result.
function _Release: Integer; {$IFDEF COM_CDECL}cdecl{$ELSE}stdcall{$ENDIF};
Delegates to AtomicDecrement, forwarding fRefCount, and returns its result.
property RefCount: Integer read fRefCount;

classTsnifCustomSessionContext

inherits from TsnifCustomUserContext

destructor Destroy; override; function HasAssumedRole(const aRoleName: string): Boolean; override; function AddResultStream(const aMsgID, aClsName, aMtdName: string; aStream: TStream): Boolean; override; function FindResultStream(const aMsgID, aClsName, aMtdName: string): TsnifResultStreamInfo; override; function NewSession: TsnifSession; property Session: TsnifSession read fSession write SetSession;