Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

StreamSec.Snif.CustomMessage

Feature notes: Snif remoting framework (concepts)

Classes, interfaces and records

classTsnifCustomMessage

constructor Create(aConversionKind: TsnifConversionKind); function Add(const aName: string; const aValue: TsnipValue): Integer; overload;
Delegates to Add, passing 2 argument(s), and returns its result.
function Add(const aName: string; const aValue: Int64): Integer; overload;
Delegates to Add, passing 2 argument(s), and returns its result.
function Add(const aName: string; const aValue: Integer): Integer; overload;
Delegates to Add, passing 2 argument(s), and returns its result.
function Add(const aName: string; const aValue: tSafeBytes): Integer; overload;
Delegates to Add, passing 2 argument(s), and returns its result.
function FindArg(const aName: string; var aValue: TsnipValue): Boolean; overload; function FindArg(const aName: string; var aValue: Int64): Boolean; overload; function FindArg(const aName: string; var aValue: Integer): Boolean; overload; function FindArg(const aName: string; var aValue: tSafeBytes): Boolean; overload; property User: string read fUser write SetUser;
Must match the authenticated user
property MsgID: string read fMsgID write SetMsgID;
Generated client side. Used for pairing responses with requests
property Session: string read fSession write SetSession; property Role: string read fRole write SetRole; property ClsName: string read fClsName write SetClsName; property MtdName: string read fMtdName write SetMtdName; property ArgName: string read fArgName write SetArgName; property OwnerName: string read fOwnerName write SetOwnerName; property Action: string read fAction write SetAction;
Action is set by the client to identify which action to take server side CALL call the context dependent instance method ClsName.MtdName with Args READ get a chunk of data from the result stream of a prior method call, identified my MsgID. Full description »
property Args[aIndex: Integer]: TPair<string,TsnipValue> read GetArgs; property ArgCount: Integer read GetArgCount;