Exemple #1
0
 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);
     }
 }
Exemple #2
0
 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);
     }
 }