RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TLinkedRIO Class

TLinkedRIO makes calls to a registered invokable interface that is implemented in the same application.

Pascal
TLinkedRIO = class(TRIO);
C++
class TLinkedRIO : public TRIO;

SOAPLinked

Use TLinkedRIO to generate calls to registered invokable interfaces within a Web Service application. Unlike other remote interfaced objects (TRIO descendants), TLinkedRIO provides no mechanism for connecting to a remote server. Rather, it passes calls directly to a TLinkedWebNode object, which uses an internal invoker component to look up the target interface and forward calls to the implementation object. 

TLinkedRIO is intended primarily for debugging Web Service applications during development. Instead of directly calling the implementation objects in the application, TLinkedRIO marshals the call into its SOAP representation and uses the invocation registry to locate the implementation object and forward the encoded request. If you use the CreateFile constructor (Delphi) or supply a pair of file names to the constructor (C++), TLinkedRIO saves the encoded value of every method call and the encoded results so that you can track the "messages" that your application receives and sends.  

Before TLinkedRIO can call a method table on an invokable interface, the interface must be registered with the invocation registry. To register an invokable interface, use the global InvRegistry function to access the registry, and use its RegisterInterface method. 

 

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