Example #1
0
        public virtual void CancelMessage(long messageId)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            CancelMessage(messageId, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
Example #2
0
        public virtual int Doit(int value)
        {
            BSyncResult <int> asyncResult = new BSyncResult <int>();

            Doit(value, BAsyncResultHelper.ToDelegate <int>(asyncResult));
            return(asyncResult.GetResult());
        }
Example #3
0
        public virtual void Expire()
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            Expire(BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
Example #4
0
        public virtual void SetUseAuthentication(bool useAuth)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            SetUseAuthentication(useAuth, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
Example #5
0
        public virtual byps.test.api.auth.SessionInfo Login(String userName, String userPwd)
        {
            BSyncResult <byps.test.api.auth.SessionInfo> asyncResult = new BSyncResult <byps.test.api.auth.SessionInfo>();

            Login(userName, userPwd, BAsyncResultHelper.ToDelegate <byps.test.api.auth.SessionInfo>(asyncResult));
            return(asyncResult.GetResult());
        }
Example #6
0
        public virtual EvolveIF GetClient()
        {
            BSyncResult <EvolveIF> asyncResult = new BSyncResult <EvolveIF>();

            GetClient(BAsyncResultHelper.ToDelegate <EvolveIF>(asyncResult));
            return(asyncResult.GetResult());
        }
Example #7
0
        public virtual void SetReloginCount(int count)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            SetReloginCount(count, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
Example #8
0
        public virtual Evolve GetEvolve()
        {
            BSyncResult <Evolve> asyncResult = new BSyncResult <Evolve>();

            GetEvolve(BAsyncResultHelper.ToDelegate <Evolve>(asyncResult));
            return(asyncResult.GetResult());
        }
Example #9
0
        public virtual void SetClient(EvolveIF partner)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            SetClient(partner, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
Example #10
0
        public virtual void SetEvolve(Evolve obj)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            SetEvolve(obj, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
Example #11
0
        public virtual void SendEvolveToClient()
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            SendEvolveToClient(BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
Example #12
0
        public virtual String Pick(byps.test.api.auth.SessionInfo sess, String fromTree)
        {
            BSyncResult <String> asyncResult = new BSyncResult <String>();

            Pick(sess, fromTree, BAsyncResultHelper.ToDelegate <String>(asyncResult));
            return(asyncResult.GetResult());
        }
Example #13
0
        public virtual IDictionary <String, String> Execute(String functionName, IDictionary <String, String> @params)
        {
            BSyncResult <IDictionary <String, String> > asyncResult = new BSyncResult <IDictionary <String, String> >();

            Execute(functionName, @params, BAsyncResultHelper.ToDelegate <IDictionary <String, String> >(asyncResult));
            return(asyncResult.GetResult());
        }
        public virtual String[] GetString()
        {
            BSyncResult <String[]> asyncResult = new BSyncResult <String[]>();

            GetString(BAsyncResultHelper.ToDelegate <String[]>(asyncResult));
            return(asyncResult.GetResult());
        }
Example #15
0
        public virtual EloixClient.Indexserver.system.UserReport userReport(EloixClient.Indexserver.system.SystemInfo si)
        {
            BSyncResult <EloixClient.Indexserver.system.UserReport> asyncResult = new BSyncResult <EloixClient.Indexserver.system.UserReport>();

            userReport(si, BAsyncResultHelper.ToDelegate <EloixClient.Indexserver.system.UserReport>(asyncResult));
            return(asyncResult.GetResult());
        }
Example #16
0
        public static BClient_Testser createClient(BWireFlags flags)
        {
            BClient_Testser client = null;

            try
            {
                ServicePointManager.DefaultConnectionLimit = 1000;


                BWire             wire             = new HWireClient(url, flags, 120);
                BTransportFactory transportFactory = new HTransportFactoryClient(BApiDescriptor_Testser.instance, wire, 1);

                client = BClient_Testser.createClient(transportFactory);

                BSyncResult <bool> syncResult = new BSyncResult <bool>();
                client.start(BAsyncResultHelper.ToDelegate(syncResult));

                syncResult.GetResult();
            }
            catch (Exception e)
            {
                Assert.Fail(e.ToString());
            }

            return(client);
        }
Example #17
0
        public static BClient_Testser createClient(BWireFlags flags) 
        {
            BClient_Testser client = null;
            try
            {
                ServicePointManager.DefaultConnectionLimit = 1000;


                BWire wire = new HWireClient(url, flags, 120);
                BTransportFactory transportFactory = new HTransportFactoryClient(BApiDescriptor_Testser.instance, wire, 1);

                client = BClient_Testser.createClient(transportFactory);

                BSyncResult<bool> syncResult = new BSyncResult<bool>();
                client.start(BAsyncResultHelper.ToDelegate(syncResult));

                syncResult.GetResult();
            }
            catch (Exception e)
            {
                Assert.Fail(e.ToString());
            }

		    return client;
	    }
        public virtual void SetShort(short[] v)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            SetShort(v, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
Example #19
0
        public virtual EloixClient.Indexserver.system.SystemReport countDocsInStorePath(EloixClient.Indexserver.system.SystemInfo si)
        {
            BSyncResult <EloixClient.Indexserver.system.SystemReport> asyncResult = new BSyncResult <EloixClient.Indexserver.system.SystemReport>();

            countDocsInStorePath(si, BAsyncResultHelper.ToDelegate <EloixClient.Indexserver.system.SystemReport>(asyncResult));
            return(asyncResult.GetResult());
        }
        public virtual Object[] GetObject()
        {
            BSyncResult <Object[]> asyncResult = new BSyncResult <Object[]>();

            GetObject(BAsyncResultHelper.ToDelegate <Object[]>(asyncResult));
            return(asyncResult.GetResult());
        }
        public virtual DateTime[] GetDate()
        {
            BSyncResult <DateTime[]> asyncResult = new BSyncResult <DateTime[]>();

            GetDate(BAsyncResultHelper.ToDelegate <DateTime[]>(asyncResult));
            return(asyncResult.GetResult());
        }
        public virtual float[] GetFloat()
        {
            BSyncResult <float[]> asyncResult = new BSyncResult <float[]>();

            GetFloat(BAsyncResultHelper.ToDelegate <float[]>(asyncResult));
            return(asyncResult.GetResult());
        }
        public virtual short[] GetShort()
        {
            BSyncResult <short[]> asyncResult = new BSyncResult <short[]>();

            GetShort(BAsyncResultHelper.ToDelegate <short[]>(asyncResult));
            return(asyncResult.GetResult());
        }
        public virtual int[] GetInt()
        {
            BSyncResult <int[]> asyncResult = new BSyncResult <int[]>();

            GetInt(BAsyncResultHelper.ToDelegate <int[]>(asyncResult));
            return(asyncResult.GetResult());
        }
        public virtual char[] GetChar()
        {
            BSyncResult <char[]> asyncResult = new BSyncResult <char[]>();

            GetChar(BAsyncResultHelper.ToDelegate <char[]>(asyncResult));
            return(asyncResult.GetResult());
        }
        public virtual byte[] GetByte()
        {
            BSyncResult <byte[]> asyncResult = new BSyncResult <byte[]>();

            GetByte(BAsyncResultHelper.ToDelegate <byte[]>(asyncResult));
            return(asyncResult.GetResult());
        }
        public virtual void SetDate(DateTime[] v)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            SetDate(v, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
        public virtual double[] GetDouble()
        {
            BSyncResult <double[]> asyncResult = new BSyncResult <double[]>();

            GetDouble(BAsyncResultHelper.ToDelegate <double[]>(asyncResult));
            return(asyncResult.GetResult());
        }
Example #29
0
        public virtual String Grow()
        {
            BSyncResult <String> asyncResult = new BSyncResult <String>();

            Grow(BAsyncResultHelper.ToDelegate <String>(asyncResult));
            return(asyncResult.GetResult());
        }
        public virtual byps.test.api.prim.PrimitiveTypes[] GetPrimitiveTypes()
        {
            BSyncResult <byps.test.api.prim.PrimitiveTypes[]> asyncResult = new BSyncResult <byps.test.api.prim.PrimitiveTypes[]>();

            GetPrimitiveTypes(BAsyncResultHelper.ToDelegate <byps.test.api.prim.PrimitiveTypes[]>(asyncResult));
            return(asyncResult.GetResult());
        }
        public virtual void SetPrimitiveTypes(byps.test.api.prim.PrimitiveTypes[] v)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            SetPrimitiveTypes(v, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
Example #32
0
		public virtual ISet<String> GetString1() {
			BSyncResult<ISet<String>> asyncResult = new BSyncResult<ISet<String>>();			
			GetString1(BAsyncResultHelper.ToDelegate<ISet<String>>(asyncResult));
			return asyncResult.GetResult();			
		}
Example #33
0
		public virtual void SetDouble1(ISet<double> double1) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			SetDouble1(double1, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
		public virtual byps.test.api.auth.SessionInfo Login(String userName, String userPwd) {
			BSyncResult<byps.test.api.auth.SessionInfo> asyncResult = new BSyncResult<byps.test.api.auth.SessionInfo>();			
			Login(userName, userPwd, BAsyncResultHelper.ToDelegate<byps.test.api.auth.SessionInfo>(asyncResult));
			return asyncResult.GetResult();			
		}
Example #35
0
		public virtual void UnregisterNotifyService(String token) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			UnregisterNotifyService(token, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
		public virtual void Expire() {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			Expire(BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #37
0
		public virtual void SetByte1(HashSet<byte> byte1) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			SetByte1(byte1, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #38
0
		public virtual void SetByte2(ISet<byte[]> byte2) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			SetByte2(byte2, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #39
0
		public virtual ISet<byps.test.api.prim.PrimitiveTypes> GetPrimitiveTypes1() {
			BSyncResult<ISet<byps.test.api.prim.PrimitiveTypes>> asyncResult = new BSyncResult<ISet<byps.test.api.prim.PrimitiveTypes>>();			
			GetPrimitiveTypes1(BAsyncResultHelper.ToDelegate<ISet<byps.test.api.prim.PrimitiveTypes>>(asyncResult));
			return asyncResult.GetResult();			
		}
Example #40
0
		public virtual void SetString1(ISet<String> string1) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			SetString1(string1, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #41
0
		public virtual void SetBoolean1(ISet<bool> boolean1) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			SetBoolean1(boolean1, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #42
0
		public virtual void SetInt2(ISet<int[]> int2) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			SetInt2(int2, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #43
0
		public virtual void SetPrimitiveTypes1(ISet<byps.test.api.prim.PrimitiveTypes> primitiveTypes1) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			SetPrimitiveTypes1(primitiveTypes1, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #44
0
		public virtual void SetDate1(ISet<DateTime> obj1) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			SetDate1(obj1, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #45
0
		public virtual ISet<int[]> GetInt2() {
			BSyncResult<ISet<int[]>> asyncResult = new BSyncResult<ISet<int[]>>();			
			GetInt2(BAsyncResultHelper.ToDelegate<ISet<int[]>>(asyncResult));
			return asyncResult.GetResult();			
		}
		public virtual void SetReloginCount(int count) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			SetReloginCount(count, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #47
0
		public virtual ISet<Object> GetObj1() {
			BSyncResult<ISet<Object>> asyncResult = new BSyncResult<ISet<Object>>();			
			GetObj1(BAsyncResultHelper.ToDelegate<ISet<Object>>(asyncResult));
			return asyncResult.GetResult();			
		}
Example #48
0
		public virtual void SetChar1(HashSet<char> char1) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			SetChar1(char1, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #49
0
		public virtual ISet<DateTime> GetDate1() {
			BSyncResult<ISet<DateTime>> asyncResult = new BSyncResult<ISet<DateTime>>();			
			GetDate1(BAsyncResultHelper.ToDelegate<ISet<DateTime>>(asyncResult));
			return asyncResult.GetResult();			
		}
Example #50
0
		public virtual FileSystemService GetService(String token, bool onlyHere) {
			BSyncResult<FileSystemService> asyncResult = new BSyncResult<FileSystemService>();			
			GetService(token, onlyHere, BAsyncResultHelper.ToDelegate<FileSystemService>(asyncResult));
			return asyncResult.GetResult();			
		}
Example #51
0
		public virtual HashSet<char> GetChar1() {
			BSyncResult<HashSet<char>> asyncResult = new BSyncResult<HashSet<char>>();			
			GetChar1(BAsyncResultHelper.ToDelegate<HashSet<char>>(asyncResult));
			return asyncResult.GetResult();			
		}
		public virtual int Doit(int value) {
			BSyncResult<int> asyncResult = new BSyncResult<int>();			
			Doit(value, BAsyncResultHelper.ToDelegate<int>(asyncResult));
			return asyncResult.GetResult();			
		}
Example #53
0
		public virtual void KeepAlive(String token) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			KeepAlive(token, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #54
0
		public virtual void SetShort1(ISet<short> short1) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			SetShort1(short1, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #55
0
		public virtual void RegisterNotifyService(String token, FileSystemNotify service) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			RegisterNotifyService(token, service, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
		public virtual void SetInt(int[,,,] v) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			SetInt(v, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #57
0
		public virtual ISet<bool> GetBoolean1() {
			BSyncResult<ISet<bool>> asyncResult = new BSyncResult<ISet<bool>>();			
			GetBoolean1(BAsyncResultHelper.ToDelegate<ISet<bool>>(asyncResult));
			return asyncResult.GetResult();			
		}
		public virtual void SetUseAuthentication(bool useAuth) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			SetUseAuthentication(useAuth, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #59
0
		public virtual void SetFloat1(ISet<float> float1) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			SetFloat1(float1, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
		public virtual DateTime[,,,] GetDate() {
			BSyncResult<DateTime[,,,]> asyncResult = new BSyncResult<DateTime[,,,]>();			
			GetDate(BAsyncResultHelper.ToDelegate<DateTime[,,,]>(asyncResult));
			return asyncResult.GetResult();			
		}