Example #1
0
        public RippleServer GetRippleServer(uint nIndex)
        {
            IntPtr       cPtr = otapiPINVOKE.WalletData_GetRippleServer(swigCPtr, nIndex);
            RippleServer ret  = (cPtr == IntPtr.Zero) ? null : new RippleServer(cPtr, false);

            return(ret);
        }
Example #2
0
        public new static RippleServer ot_dynamic_cast(Storable pObject)
        {
            IntPtr       cPtr = otapiPINVOKE.RippleServer_ot_dynamic_cast(Storable.getCPtr(pObject));
            RippleServer ret  = (cPtr == IntPtr.Zero) ? null : new RippleServer(cPtr, false);

            return(ret);
        }
Example #3
0
        public bool AddRippleServer(RippleServer disownObject)
        {
            bool ret = otapiPINVOKE.WalletData_AddRippleServer(swigCPtr, RippleServer.getCPtr(disownObject));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public bool AddRippleServer(RippleServer disownObject)
 {
     bool ret = otapiPINVOKE.WalletData_AddRippleServer(swigCPtr, RippleServer.getCPtr(disownObject));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #5
0
 internal static HandleRef getCPtr(RippleServer obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(RippleServer obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }