Beispiel #1
0
        void Regulus.Remoting.PhotonExpansion.IPhotonFramework.ObtainController(Regulus.Remoting.Soul.SoulProvider provider)
        {
            var soul = new CTestSoul();

            provider.Bind <TestRemotingCommon.ITest>(soul);
            soul.invoke();
            //provider.Unbind<TestRemotingCommon.ITest>(soul);
        }
Beispiel #2
0
 public Peer(System.Net.Sockets.Socket client)
 {
     _Socket = client;
     _SoulProvider = new Remoting.Soul.SoulProvider(this, this);
     _Responses = new Queue<Remoting.Package>();
     _Requests = new Queue<Request>();
     _ReadMachine = new Game.StageMachine();
     _WriteMachine = new Game.StageMachine();
     _Enable = true;
 }