Exemplo n.º 1
0
        public static Session CreateSession(NetworkProxy net, AChannel c)
        {
            Session session = new Session {
                Id = IdGenerater.GenerateId()
            };

            session.Awake(net, c);
            return(session);
        }
Exemplo n.º 2
0
 public void Awake(NetworkProxy net, AChannel c)
 {
     this.Network = net;
     this.channel = c;
     this.requestCallback.Clear();
 }