コード例 #1
0
 public void Close()
 {
     while (!_concurrentQueue.IsEmpty)
     {
         autoResetEvent.WaitOne(10000);
     }
     _isClosed = true;
     SendAsync(_queueCoder.Close(_name));
 }
コード例 #2
0
 public void Close()
 {
     while (!_concurrentQueue.IsEmpty)
     {
         ThreadHelper.Sleep(10);
     }
     _isClosed = true;
     SendAsync(_queueCoder.Close(_name));
 }
コード例 #3
0
 public void Close(int wait = 10000)
 {
     _isClosed = true;
     _clientSocket.Send(_queueCoder.Close(_name));
 }