Beispiel #1
0
        protected override Photon.SocketServer.PeerBase CreatePeer(Photon.SocketServer.InitRequest initRequest)
        {
            var peer = new ServerPeer(initRequest);

            lock (_SynObject)
            {
                _NewProviderQueue.Enqueue(new Regulus.Remoting.Soul.SoulProvider(peer, peer));
            }

            return peer;
        }
Beispiel #2
0
        protected override Photon.SocketServer.PeerBase CreatePeer(Photon.SocketServer.InitRequest initRequest)
        {
            var peer = new ServerPeer(initRequest);

            lock (_SynObject)
            {
                _NewProviderQueue.Enqueue(new Regulus.Remoting.Soul.SoulProvider(peer, peer));
            }

            return(peer);
        }