예제 #1
0
        public void Awake(AService aService)
        {
            this.AService = aService;
            long timeNow = Utility.Timer.ClientNow();

            this.LastRecvTime = timeNow;
            this.LastSendTime = timeNow;

            this.requestCallbacks.Clear();

            Log.Info($"session create: zone: {this.DomainZone()} id: {this.Id} {timeNow} ");
        }
예제 #2
0
 public PacketParser(CircularBuffer buffer, AService service)
 {
     this.buffer  = buffer;
     this.service = service;
 }