static void connect(Ice.ObjectPrx proxy) { if(proxy.ice_getCachedConnection() != null) { proxy.ice_getCachedConnection().close(false); } try { proxy.ice_ping(); } catch(Ice.LocalException) { } if(proxy.ice_getCachedConnection() != null) { proxy.ice_getCachedConnection().close(false); } }
public static DispatchStatus ice_ping___(Ice.Object __obj, IceInternal.Incoming inS__, Current __current) { inS__.readEmptyParams(); __obj.ice_ping(__current); inS__.writeEmptyParams__(); return DispatchStatus.DispatchOK; }
public static DispatchStatus ice_ping___(Ice.Object __obj, IceInternal.Incoming inS__, Current __current) { inS__.istr().skipEmptyEncaps(); __obj.ice_ping(__current); return DispatchStatus.DispatchOK; }