.Net リモーティングを使用して、2 つのオブジェクト間の双方向通信回線をセットアップしています。基本的な構造は次のとおりです。
Instances of RemoteObjectA call methods on StaticObjectA.
Instances of RemoteObjectB call methods on StaticObjectB.
StaticObjectA needs to be able to call methods provided by RemoteObjectB.
StaticObjectB needs to be able to call methods provided by RemoteObjectA.
このセットアップの問題は、RemoteObjectA gets StaticObjectA gets RemoteObjectB gets StaticObjectB gets RemoteObjectA の循環参照です...
インターフェイス IRemoteObjectA と IRemoteObjectB を実装し、それぞれのインターフェイスからリモート オブジェクトを継承しましたが、リモート処理の設定に失敗しました。
この問題の解決策が「リモーティングを使用しない」である場合、私はそれに対処できます。簡単な解決策を見逃していないことを確認したかっただけです。