Soap.OPConvert.IOPConvert.MsgToInvContext

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MsgToInvContext(const Request: InvString;  const IntfMD: TIntfMetaData; var MethNum: Integer; Context: TInvContext); overload;
procedure MsgToInvContext(const Request: TStream;  const IntfMD: TIntfMetaData; var MethNum: Integer; Context: TInvContext; Headers: THeaderList);  overload;

C++

virtual void __fastcall MsgToInvContext(const System::UnicodeString Request, const Soap::Intfinfo::TIntfMetaData &IntfMD, int &MethNum, Soap::Invokeregistry::TInvContext* Context) = 0 /* overload */;
virtual void __fastcall MsgToInvContext(System::Classes::TStream* const Request, const Soap::Intfinfo::TIntfMetaData &IntfMD, int &MethNum, Soap::Invokeregistry::TInvContext* Context, Soap::Invokeregistry::THeaderList* Headers) = 0 /* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.OPConvert.pas
Soap.OPConvert.hpp
Soap.OPConvert IOPConvert

Description

Unpacks an encoded method call into an invocation context so that it can be executed.

MsgToInvContext takes an encoded message that a server application receives and uses it to fill out an invocation context, which can then be used to execute the method call.

Request is the encoded method call, or a stream from which to read that method call. It is generated on the client by a call to InvContextToMsg.

IntfMD represents the runtime type information (RTTI) from the interface whose method is called.

MethNum returns the position of the called method in the interface's method table.

Context is the invocation context to which this method adds the information encoded in Request.

Headers is an object list to which MsgToInvContext adds TSOAPHeader descendants to represent every header in the encoded message.

See Also