Proxy Server Sample

Purpose

This example shows how to create a proxy server to redirect the calls to another server without having to recreate the RODL file, thus allowing the use of the same types of the original server.
This provides total control. As every call will pass from the proxy class before going to the real server, you can even stop methods from being dispatched any further.

ProxyServer_ProxyServer_Impl was created by simply copying the original MainService_Impl.pas file, renaming the TMainService class to TProxyService followed by implementing a bypass for all the method calls. This class is basically a server which accesses a RemObjects SDK server as a client would do.

Getting Started

Launch both servers and run the client.
The client allows you to select either server. When you execute a method using the Proxy Server, you will see both servers log the call.