Example #1
0
    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);
        }
    }
Example #2
0
 public static DispatchStatus ice_ping___(Ice.Object __obj, IceInternal.Incoming inS__, Current __current)
 {
     inS__.readEmptyParams();
     __obj.ice_ping(__current);
     inS__.writeEmptyParams__();
     return DispatchStatus.DispatchOK;
 }
Example #3
0
 public static DispatchStatus ice_ping___(Ice.Object __obj, IceInternal.Incoming inS__,
     Current __current)
 {
     inS__.istr().skipEmptyEncaps();
     __obj.ice_ping(__current);
     return DispatchStatus.DispatchOK;
 }