示例#1
0
 public void removeConnectionAcceptor(RpcConnectionAcceptor acceptor)
 {
     lock (_acceptors) {
         _acceptors.Remove(acceptor);
         acceptor.adapter = null;
     }
 }
示例#2
0
文件: adapter.cs 项目: adoggie/TCE
 public void addConnectionAcceptor(RpcConnectionAcceptor acceptor)
 {
     lock (_acceptors) {
         if (!_acceptors.Contains(acceptor)) {
             acceptor.adapter = this;
             _acceptors.Add(acceptor);
         }
     }
 }
示例#3
0
 public void addConnectionAcceptor(RpcConnectionAcceptor acceptor)
 {
     lock (_acceptors) {
         if (!_acceptors.Contains(acceptor))
         {
             acceptor.adapter = this;
             _acceptors.Add(acceptor);
         }
     }
 }
示例#4
0
文件: adapter.cs 项目: adoggie/TCE
 public void removeConnectionAcceptor(RpcConnectionAcceptor acceptor)
 {
     lock (_acceptors) {
         _acceptors.Remove(acceptor);
         acceptor.adapter = null;
     }
 }