// // Close the connection associated with the proxy and wait until the close completes. // private static void closeConnection(Ice.ObjectPrx prx) { CloseCallback cb = new CloseCallback(); prx.ice_getConnection().setCloseCallback(cb.closed); prx.ice_getConnection().close(false); cb.check(); }
// // Close the connection associated with the proxy and wait until the close completes. // private static void closeConnection(IObjectPrx prx) { CloseCallback cb = new CloseCallback(); prx.GetConnection().SetCloseCallback(cb.closed); prx.GetConnection().Close(ConnectionClose.GracefullyWithWait); cb.check(); }
// // Close the connection associated with the proxy and wait until the close completes. // private static void closeConnection(Ice.ObjectPrx prx) { CloseCallback cb = new CloseCallback(); prx.ice_getConnection().setCloseCallback(cb.closed); prx.ice_getConnection().close(Ice.ConnectionClose.GracefullyWithWait); cb.check(); }