Exemple #1
0
 /// <summary>
 /// 关闭指定客户端连接
 /// </summary>
 /// <param name="theConnection">指定的客户端连接</param>
 public void CloseConnection(WebSocketConnection theConnection)
 {
     theConnection.Close();
 }
Exemple #2
0
 private void AddConnection(WebSocketConnection theConnection)
 {
     _connectionList[theConnection.ConnectionId] = theConnection;
 }