RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IWebNode Interface

IWebNode is the interface for executing invokable interface calls from the client of a Web Service.

Pascal
IWebNode = interface;
C++
__interface IWebNode;

WebNode

TRIO objects use IWebNode to execute method calls on an invokable interface. IWebNode takes an encoded method call, executes it, and returns the encoded results. Typically, objects that implement IWebNode use a specific transport protocol to forward the encoded method call to a remote server. For example, the THTTPReqResp class implements this interface for making interface calls to a remote Web Service application using HTTP. 

When implementing the IWebNode interface, you can use another IWebNode implementation to delegate part of the method execution. For example, you can write a class that compresses or encrypts the encoded method call, passes it to another IWebNode implementation that expects the compressed or encrypted string, and then decompresses or decrypts the results returned by the other IWebNode implementation.

Note: C++ method declarations that use IWebNode use the _di_IWebNode type instead. This type is a DelphiInterface wrapper around the IWebNode interface:

typedef System::DelphiInterfaceDelphiInterface_object< >  _di_IWebNode;

 

THTTPReqResp 

TRio

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!