コード例 #1
0
ファイル: AllTests.cs プロジェクト: zhangwei5095/ice
    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);
        }
    }
コード例 #2
0
ファイル: Object.cs プロジェクト: Radulfr/zeroc-ice
 public static DispatchStatus ice_ping___(Ice.Object __obj, IceInternal.Incoming inS__, Current __current)
 {
     inS__.readEmptyParams();
     __obj.ice_ping(__current);
     inS__.writeEmptyParams__();
     return DispatchStatus.DispatchOK;
 }
コード例 #3
0
ファイル: Object.cs プロジェクト: bholl/zeroc-ice
 public static DispatchStatus ice_ping___(Ice.Object __obj, IceInternal.Incoming inS__,
     Current __current)
 {
     inS__.istr().skipEmptyEncaps();
     __obj.ice_ping(__current);
     return DispatchStatus.DispatchOK;
 }