pmMDA.NET

ClientDataObjectHandler Constructor (String)

[This is preliminary documentation and subject to change.]

Initializes a new instance of the client remoting handler.

public ClientDataObjectHandler(
   string uri
);

Parameters

uri
The uri of the remoting handler on the server.

Example

C#

public class RemotingClientApp : Locator {
   [STAThread]
   static void Main(string[] args) {
      new RemotingClientApp();
   }

   public RemotingClientApp() {
      // Initialize pmMDA
      Register(this);
      DataObjectManager manager = new DataObjectManager(new ClientRemotingHandler(
         "http://localhost:1234/HostRemotingHandler"));
         // use the uri as specified in your HostRemotingHandler
      Register(manager);
      Initialize();
      Startup();
      
      // TODO: The custom client application starts here
   }
}

See Also

ClientDataObjectHandler Class | PmMda.Net.Dog.Remoting Namespace | ClientDataObjectHandler Constructor Overload List