상속: ReadmillClientBase
예제 #1
0
 public void Close()
 {
     this.isOpen = false;
     this.accessToken = null;
     this.sessionId = null;
     this.client = null;
 }
예제 #2
0
        public ReadingSession(string accessToken, string readingId, ReadingsClient readingsClient)
        {
            this.client = readingsClient;
            this.accessToken = accessToken;
            this.readingId = readingId;
            this.lastPingTime = DateTime.Now;

            this.sessionId = Guid.NewGuid().ToString();
            this.isOpen = true;
        }