示例#1
0
文件: TestI.cs 项目: saxonelf/ice
 public override void destroyServer(ServerPrx srv, Ice.Current current)
 {
     Ice.Identity key = srv.ice_getIdentity();
     if (_servers.Contains(key))
     {
         ServerI server = _servers[key] as ServerI;
         server.destroy();
         _servers.Remove(key);
     }
 }
示例#2
0
文件: TestI.cs 项目: bholl/zeroc-ice
 public override void destroyServer(ServerPrx srv, Ice.Current current)
 {
     Ice.Identity key = srv.ice_getIdentity();
     if(servers_.Contains(key))
     {
         ServerI server = servers_[key] as ServerI;
         server.destroy();
         servers_.Remove(key);
     }
 }