.NET Remoting のテスト

  1. .NET Explorer から Remoting サーバー アプリケーションを起動します。 Help > Start Remoting Sample を選択します。
  2. 手動で RemServConsole.exe を開始します。これは <public user documents>\Silk Performer 19.5\SampleApps\DOTNET\RemotingSamples\RemServerConsole\bin\debug\RemServConsole.exe から利用できます。
  3. RemotingLib.dll を読み込みます。これは <public user documents>\Silk Performer 19.5\SampleApps\DOTNET\RemotingSamples\RemServerConsole\bin\debug\RemotingLib.dll から利用できます。
  4. RemoteObject クラスのインスタンスを作成します。 RemoteObject を右クリックして、Create Remote Object を選択します。 有効化 URL を入力するように求められます。 tcp://localhost:2000 と入力します。
  5. リモート インターフェイスに接続します。
  6. RemoteInterface インターフェイスのメソッドを呼び出します。 最初に呼び出すときに、有効化 URL を入力するように求められます。 有効化 URL は、tcp://localhost:2000/RemoteInterface.rem または tcp://localhost:2000/RemoteInterfaceSCall.rem (単一呼び出しオブジェクト) です。