コード例 #1
0
        public SimpleChatDeviceClient(Uri baseAddress, DeviceId deviceId)
        {
            DeviceId = deviceId;

            var client = new HttpClient {
                BaseAddress = baseAddress
            };

            Client = new SdgwEndpointClient {
                Client = client
            };
        }
コード例 #2
0
        public AutomaticChatClient(Uri baseAddress)
        {
            BaseAddress = baseAddress;
            var client = new HttpClient {
                BaseAddress = baseAddress
            };

            Client = new SdgwEndpointClient {
                Client = client
            };

            Timer = Stopwatch.StartNew();
        }
コード例 #3
0
 public MessageAnswerClient(SdgwEndpointClient client) : base(client)
 {
 }
コード例 #4
0
 public MessageSendingQueue(SdgwEndpointClient client)
 {
     Client       = client;
     SendingQueue = new ConcurrentQueue <Job>();
 }