public virtual void download(String[] @params, BAsyncResult <System.IO.Stream> asyncResult)
        {
            BRequest_RawStreamService_download req = new BRequest_RawStreamService_download();

            req.paramsValue = @params;
            transport.sendMethod(req, asyncResult);
        }
示例#2
0
        protected override void internalAuthenticate(BClient_Indexserver client, BAsyncResult <bool> asyncResult)
        {
            BAsyncResult <LoginResult> outerResult = (loginResult, ex) =>
            {
                this.setLoginResult(loginResult);
                asyncResult(false, ex);
            };

            try
            {
                String encrPwd = encryptPassword(userPwd);
                if (reportAs)
                {
                    client.IXServicePortIF.loginAdmin(userName, encrPwd, computerName, runAs, outerResult);
                }
                else
                {
                    client.IXServicePortIF.login(userName, encrPwd, computerName, runAs, outerResult);
                }
            }
            catch (Exception e)
            {
                asyncResult(false, e);
            }
        }
示例#3
0
        public virtual void unregisterNotify(String feedGuid, BAsyncResult <Object> asyncResult)
        {
            BRequest_FeedService_unregisterNotify req = new BRequest_FeedService_unregisterNotify();

            req.feedGuidValue = feedGuid;
            transport.sendMethod(req, asyncResult);
        }
示例#4
0
        public virtual void RemovePublishedRemote(String name, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteServerCtrl_removePublishedRemote req = new BRequest_RemoteServerCtrl_removePublishedRemote();

            req.nameValue = name;
            transport.sendMethod(req, asyncResult);
        }
示例#5
0
        public virtual void SetDate1(IDictionary <String, DateTime> obj1, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteMapTypes_setDate1 req = new BRequest_RemoteMapTypes_setDate1();

            req.obj1Value = obj1;
            transport.sendMethod(req, asyncResult);
        }
示例#6
0
        public virtual void SetByte1(Dictionary <double, byte> byte1, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteMapTypes_setByte1 req = new BRequest_RemoteMapTypes_setByte1();

            req.byte1Value = byte1;
            transport.sendMethod(req, asyncResult);
        }
示例#7
0
        public virtual void SetByte2(IDictionary <int, byte[]> byte2, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteMapTypes_setByte2 req = new BRequest_RemoteMapTypes_setByte2();

            req.byte2Value = byte2;
            transport.sendMethod(req, asyncResult);
        }
示例#8
0
        public virtual void SetInt2(IDictionary <int, int[]> int2, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteMapTypes_setInt2 req = new BRequest_RemoteMapTypes_setInt2();

            req.int2Value = int2;
            transport.sendMethod(req, asyncResult);
        }
示例#9
0
        public virtual void SetString1(IDictionary <String, String> string1, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteMapTypes_setString1 req = new BRequest_RemoteMapTypes_setString1();

            req.string1Value = string1;
            transport.sendMethod(req, asyncResult);
        }
示例#10
0
        public virtual void SetBoolean1(IDictionary <String, bool> boolean1, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteMapTypes_setBoolean1 req = new BRequest_RemoteMapTypes_setBoolean1();

            req.boolean1Value = boolean1;
            transport.sendMethod(req, asyncResult);
        }
示例#11
0
        public virtual void SetDouble1(IDictionary <byte, double> double1, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteMapTypes_setDouble1 req = new BRequest_RemoteMapTypes_setDouble1();

            req.double1Value = double1;
            transport.sendMethod(req, asyncResult);
        }
示例#12
0
        public virtual void SetFloat1(IDictionary <char, float> float1, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteMapTypes_setFloat1 req = new BRequest_RemoteMapTypes_setFloat1();

            req.float1Value = float1;
            transport.sendMethod(req, asyncResult);
        }
示例#13
0
        public virtual void SetLong1(IDictionary <short, long> long1, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteMapTypes_setLong1 req = new BRequest_RemoteMapTypes_setLong1();

            req.long1Value = long1;
            transport.sendMethod(req, asyncResult);
        }
示例#14
0
        public virtual void SetChar(char[,,,] v, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteArrayTypes4dim_setChar req = new BRequest_RemoteArrayTypes4dim_setChar();

            req.vValue = v;
            transport.sendMethod(req, asyncResult);
        }
示例#15
0
        public virtual void PutStreamsOnClient(IList <System.IO.Stream> streams, BAsyncResult <Object> asyncResult)
        {
            BRequest_ServerIF_putStreamsOnClient req = new BRequest_ServerIF_putStreamsOnClient();

            req.streamsValue = streams;
            transport.sendMethod(req, asyncResult);
        }
示例#16
0
        public virtual void SetChar1(Dictionary <float, char> char1, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteMapTypes_setChar1 req = new BRequest_RemoteMapTypes_setChar1();

            req.char1Value = char1;
            transport.sendMethod(req, asyncResult);
        }
示例#17
0
		public virtual void PublishRemote(String name, BRemote remote, bool fowardToOtherServers, BAsyncResult<Object> asyncResult) {
			BRequest_RemoteServerCtrl_publishRemote req = new BRequest_RemoteServerCtrl_publishRemote();			
			req.nameValue = name;
			req.remoteValue = remote;
			req.fowardToOtherServersValue = fowardToOtherServers;
			transport.sendMethod(req, asyncResult);
		}
		public virtual void SendArraysInt(int[,] arr2, int[,,] arr3, int[,,,] arr4, BAsyncResult<int[]> asyncResult) {
			BRequest_RemoteArrayTypes23_sendArraysInt req = new BRequest_RemoteArrayTypes23_sendArraysInt();			
			req.arr2Value = arr2;
			req.arr3Value = arr3;
			req.arr4Value = arr4;
			transport.sendMethod(req, asyncResult);
		}
        public virtual void uploadAll(Object reserved, BAsyncResult <Object> asyncResult)
        {
            BRequest_HealthCheckService_uploadAll req = new BRequest_HealthCheckService_uploadAll();

            req.reservedValue = reserved;
            transport.sendMethod(req, asyncResult);
        }
        public virtual void SetActor(byps.test.api.inl.Actor act, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteInlineInstance_setActor req = new BRequest_RemoteInlineInstance_setActor();

            req.actValue = act;
            transport.sendMethod(req, asyncResult);
        }
		public virtual void SendArraysString(String[,] arr2, String[,,] arr3, String[,,,] arr4, BAsyncResult<String[]> asyncResult) {
			BRequest_RemoteArrayTypes23_sendArraysString req = new BRequest_RemoteArrayTypes23_sendArraysString();			
			req.arr2Value = arr2;
			req.arr3Value = arr3;
			req.arr4Value = arr4;
			transport.sendMethod(req, asyncResult);
		}
示例#22
0
        public virtual void CallClientParallel(int v, BAsyncResult <int> asyncResult)
        {
            BRequest_ServerIF_callClientParallel req = new BRequest_ServerIF_callClientParallel();

            req.vValue = v;
            transport.sendMethod(req, asyncResult);
        }
示例#23
0
        public virtual void SetPartner(ClientIF client, BAsyncResult <Object> asyncResult)
        {
            BRequest_ServerIF_setPartner req = new BRequest_ServerIF_setPartner();

            req.clientValue = client;
            transport.sendMethod(req, asyncResult);
        }
示例#24
0
        public virtual void RegisterWithClientMap(int id, BAsyncResult <Object> asyncResult)
        {
            BRequest_ServerIF_registerWithClientMap req = new BRequest_ServerIF_registerWithClientMap();

            req.idValue = id;
            transport.sendMethod(req, asyncResult);
        }
示例#25
0
        public virtual void GetClient(int id, BAsyncResult <ClientIF> asyncResult)
        {
            BRequest_ServerIF_getClient req = new BRequest_ServerIF_getClient();

            req.idValue = id;
            transport.sendMethod(req, asyncResult);
        }
		public virtual void SendArraysClass(byps.test.api.prim.PrimitiveTypes[,] arr2, byps.test.api.prim.PrimitiveTypes[,,] arr3, byps.test.api.prim.PrimitiveTypes[,,,] arr4, BAsyncResult<byps.test.api.prim.PrimitiveTypes[]> asyncResult) {
			BRequest_RemoteArrayTypes23_sendArraysClass req = new BRequest_RemoteArrayTypes23_sendArraysClass();			
			req.arr2Value = arr2;
			req.arr3Value = arr3;
			req.arr4Value = arr4;
			transport.sendMethod(req, asyncResult);
		}
示例#27
0
        public virtual void GetStreamsFromClient(bool materializeOnServer, BAsyncResult <IList <System.IO.Stream> > asyncResult)
        {
            BRequest_ServerIF_getStreamsFromClient req = new BRequest_ServerIF_getStreamsFromClient();

            req.materializeOnServerValue = materializeOnServer;
            transport.sendMethod(req, asyncResult);
        }
        public virtual void read(IList <String> names, BAsyncResult <EloixClient.IndexServer.health.HealthCheckInfos> asyncResult)
        {
            BRequest_HealthCheckService_read req = new BRequest_HealthCheckService_read();

            req.namesValue = names;
            transport.sendMethod(req, asyncResult);
        }
示例#29
0
        public virtual void SetShort1(IDictionary <long, short> short1, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteMapTypes_setShort1 req = new BRequest_RemoteMapTypes_setShort1();

            req.short1Value = short1;
            transport.sendMethod(req, asyncResult);
        }
示例#30
0
        public virtual void SetStreamDoNotMaterialize(System.IO.Stream stream, BAsyncResult <Object> asyncResult)
        {
            BRequest_RemoteStreams_setStreamDoNotMaterialize req = new BRequest_RemoteStreams_setStreamDoNotMaterialize();

            req.streamValue = stream;
            transport.sendMethod(req, asyncResult);
        }
示例#31
0
        public virtual void PutStreams(IList <System.IO.Stream> strm, int ctrl, BAsyncResult <Object> asyncResult)
        {
            BRequest_ClientIF_putStreams req = new BRequest_ClientIF_putStreams();

            req.strmValue = strm;
            req.ctrlValue = ctrl;
            transport.sendMethod(req, asyncResult);
        }
        public virtual void GetDeferredValueFromServer(int param1, String param2, BAsyncResult <int> asyncResult)
        {
            BRequest_RemotePrimitiveTypes_getDeferredValueFromServer req = new BRequest_RemotePrimitiveTypes_getDeferredValueFromServer();

            req.param1Value = param1;
            req.param2Value = param2;
            transport.sendMethod(req, asyncResult);
        }
示例#33
0
        public virtual void Login(String userName, String userPwd, BAsyncResult <byps.test.api.auth.SessionInfo> asyncResult)
        {
            BRequest_RemoteWithAuthentication_login req = new BRequest_RemoteWithAuthentication_login();

            req.userNameValue = userName;
            req.userPwdValue  = userPwd;
            transport.sendMethod(req, asyncResult);
        }
        public virtual void Add(int a, int b, BAsyncResult <int> asyncResult)
        {
            BRequest_RemotePrimitiveTypes_add req = new BRequest_RemotePrimitiveTypes_add();

            req.aValue = a;
            req.bValue = b;
            transport.sendMethod(req, asyncResult);
        }
示例#35
0
		public virtual async void PutStreams(IList<System.IO.Stream> strm, int ctrl, BAsyncResult<Object> asyncResult) {
			Object __byps__ret = default(Object);
			Exception __byps__ex = null;
			bool __byps__callAsync = false;
			try {
				PutStreams(strm, ctrl);
			}
			catch (NotImplementedException) { __byps__callAsync = true; }
			catch (Exception e) { __byps__ex = e; }
			if (__byps__callAsync) try {
				await PutStreamsAsync(strm, ctrl);
			}
			catch (NotImplementedException) { __byps__ex = new BException(BExceptionC.UNSUPPORTED_METHOD, ""); }
			catch (Exception e) { __byps__ex = e; }
			asyncResult(__byps__ret, __byps__ex);
		}
		public virtual async void Notify(NotifyInfo notifyInfo, BAsyncResult<Object> asyncResult) {
			Object __byps__ret = default(Object);
			Exception __byps__ex = null;
			bool __byps__callAsync = false;
			try {
				Notify(notifyInfo);
			}
			catch (NotImplementedException) { __byps__callAsync = true; }
			catch (Exception e) { __byps__ex = e; }
			if (__byps__callAsync) try {
				await NotifyAsync(notifyInfo);
			}
			catch (NotImplementedException) { __byps__ex = new BException(BExceptionC.UNSUPPORTED_METHOD, ""); }
			catch (Exception e) { __byps__ex = e; }
			asyncResult(__byps__ret, __byps__ex);
		}
示例#37
0
		public virtual async void IncrementInt(int a, BAsyncResult<int> asyncResult) {
			int __byps__ret = default(int);
			Exception __byps__ex = null;
			bool __byps__callAsync = false;
			try {
				__byps__ret = IncrementInt(a);
			}
			catch (NotImplementedException) { __byps__callAsync = true; }
			catch (Exception e) { __byps__ex = e; }
			if (__byps__callAsync) try {
				__byps__ret = await IncrementIntAsync(a);
			}
			catch (NotImplementedException) { __byps__ex = new BException(BExceptionC.UNSUPPORTED_METHOD, ""); }
			catch (Exception e) { __byps__ex = e; }
			asyncResult(__byps__ret, __byps__ex);
		}
		public virtual async void ReadAllText(String path, BAsyncResult<String> asyncResult) {
			String __byps__ret = default(String);
			Exception __byps__ex = null;
			bool __byps__callAsync = false;
			try {
				__byps__ret = ReadAllText(path);
			}
			catch (NotImplementedException) { __byps__callAsync = true; }
			catch (Exception e) { __byps__ex = e; }
			if (__byps__callAsync) try {
				__byps__ret = await ReadAllTextAsync(path);
			}
			catch (NotImplementedException) { __byps__ex = new BException(BExceptionC.UNSUPPORTED_METHOD, ""); }
			catch (Exception e) { __byps__ex = e; }
			asyncResult(__byps__ret, __byps__ex);
		}
示例#39
0
		public virtual async void GetStreams(int ctrl, BAsyncResult<IList<System.IO.Stream>> asyncResult) {
			IList<System.IO.Stream> __byps__ret = default(IList<System.IO.Stream>);
			Exception __byps__ex = null;
			bool __byps__callAsync = false;
			try {
				__byps__ret = GetStreams(ctrl);
			}
			catch (NotImplementedException) { __byps__callAsync = true; }
			catch (Exception e) { __byps__ex = e; }
			if (__byps__callAsync) try {
				__byps__ret = await GetStreamsAsync(ctrl);
			}
			catch (NotImplementedException) { __byps__ex = new BException(BExceptionC.UNSUPPORTED_METHOD, ""); }
			catch (Exception e) { __byps__ex = e; }
			asyncResult(__byps__ret, __byps__ex);
		}
		public virtual async void FindFiles(String path, FindOptions findOptions, BAsyncResult<IList<FileInfo>> asyncResult) {
			IList<FileInfo> __byps__ret = default(IList<FileInfo>);
			Exception __byps__ex = null;
			bool __byps__callAsync = false;
			try {
				__byps__ret = FindFiles(path, findOptions);
			}
			catch (NotImplementedException) { __byps__callAsync = true; }
			catch (Exception e) { __byps__ex = e; }
			if (__byps__callAsync) try {
				__byps__ret = await FindFilesAsync(path, findOptions);
			}
			catch (NotImplementedException) { __byps__ex = new BException(BExceptionC.UNSUPPORTED_METHOD, ""); }
			catch (Exception e) { __byps__ex = e; }
			asyncResult(__byps__ret, __byps__ex);
		}
		public virtual async void WriteAllText(String path, String text, BAsyncResult<Object> asyncResult) {
			Object __byps__ret = default(Object);
			Exception __byps__ex = null;
			bool __byps__callAsync = false;
			try {
				WriteAllText(path, text);
			}
			catch (NotImplementedException) { __byps__callAsync = true; }
			catch (Exception e) { __byps__ex = e; }
			if (__byps__callAsync) try {
				await WriteAllTextAsync(path, text);
			}
			catch (NotImplementedException) { __byps__ex = new BException(BExceptionC.UNSUPPORTED_METHOD, ""); }
			catch (Exception e) { __byps__ex = e; }
			asyncResult(__byps__ret, __byps__ex);
		}
示例#42
0
		public virtual void Compare_AllTypesC(bool bool1s, bool bool2s, char char1s, String stringNull, char char2s, short short1s, int int1s, long long1s, float float1s, double double1s, String string1s, byps.test.api.cons.AllTypesZ ALL, int[] arrInt, int[,,,] arrInt4, String[] arrStrings, String[,,,] arrStrings4, byps.test.api.cons.AllTypesZ[,] arrAll, BAsyncResult<bool> asyncResult) {
			BRequest_RemoteConstants_compare_AllTypesC req = new BRequest_RemoteConstants_compare_AllTypesC();			
			req.bool1sValue = bool1s;
			req.bool2sValue = bool2s;
			req.char1sValue = char1s;
			req.stringNullValue = stringNull;
			req.char2sValue = char2s;
			req.short1sValue = short1s;
			req.int1sValue = int1s;
			req.long1sValue = long1s;
			req.float1sValue = float1s;
			req.double1sValue = double1s;
			req.string1sValue = string1s;
			req.ALLValue = ALL;
			req.arrIntValue = arrInt;
			req.arrInt4Value = arrInt4;
			req.arrStringsValue = arrStrings;
			req.arrStrings4Value = arrStrings4;
			req.arrAllValue = arrAll;
			transport.sendMethod(req, asyncResult);
		}
示例#43
0
		public virtual void GetChar1(BAsyncResult<HashSet<char>> asyncResult) {
			BRequest_RemoteSetTypes_getChar1 req = new BRequest_RemoteSetTypes_getChar1();			
			transport.sendMethod(req, asyncResult);
		}
示例#44
0
		public virtual void SetByte1(HashSet<byte> byte1, BAsyncResult<Object> asyncResult) {
			BRequest_RemoteSetTypes_setByte1 req = new BRequest_RemoteSetTypes_setByte1();			
			req.byte1Value = byte1;
			transport.sendMethod(req, asyncResult);
		}
示例#45
0
		public virtual void GetDate1(BAsyncResult<ISet<DateTime>> asyncResult) {
			BRequest_RemoteSetTypes_getDate1 req = new BRequest_RemoteSetTypes_getDate1();			
			transport.sendMethod(req, asyncResult);
		}
示例#46
0
		public virtual void SetDate1(ISet<DateTime> obj1, BAsyncResult<Object> asyncResult) {
			BRequest_RemoteSetTypes_setDate1 req = new BRequest_RemoteSetTypes_setDate1();			
			req.obj1Value = obj1;
			transport.sendMethod(req, asyncResult);
		}
示例#47
0
		public virtual void GetObj1(BAsyncResult<ISet<Object>> asyncResult) {
			BRequest_RemoteSetTypes_getObj1 req = new BRequest_RemoteSetTypes_getObj1();			
			transport.sendMethod(req, asyncResult);
		}
示例#48
0
		public virtual void SetFloat1(ISet<float> float1, BAsyncResult<Object> asyncResult) {
			BRequest_RemoteSetTypes_setFloat1 req = new BRequest_RemoteSetTypes_setFloat1();			
			req.float1Value = float1;
			transport.sendMethod(req, asyncResult);
		}
示例#49
0
		public virtual void RegisterNotifyService(String token, FileSystemNotify service, BAsyncResult<Object> asyncResult) {
			BRequest_DispatcherService_registerNotifyService req = new BRequest_DispatcherService_registerNotifyService();			
			req.tokenValue = token;
			req.serviceValue = service;
			transport.sendMethod(req, asyncResult);
		}
示例#50
0
		public virtual void SetByte2(ISet<byte[]> byte2, BAsyncResult<Object> asyncResult) {
			BRequest_RemoteSetTypes_setByte2 req = new BRequest_RemoteSetTypes_setByte2();			
			req.byte2Value = byte2;
			transport.sendMethod(req, asyncResult);
		}
示例#51
0
		public virtual void SetBoolean1(ISet<bool> boolean1, BAsyncResult<Object> asyncResult) {
			BRequest_RemoteSetTypes_setBoolean1 req = new BRequest_RemoteSetTypes_setBoolean1();			
			req.boolean1Value = boolean1;
			transport.sendMethod(req, asyncResult);
		}
示例#52
0
		public virtual void SetPrimitiveTypes1(ISet<byps.test.api.prim.PrimitiveTypes> primitiveTypes1, BAsyncResult<Object> asyncResult) {
			BRequest_RemoteSetTypes_setPrimitiveTypes1 req = new BRequest_RemoteSetTypes_setPrimitiveTypes1();			
			req.primitiveTypes1Value = primitiveTypes1;
			transport.sendMethod(req, asyncResult);
		}
示例#53
0
		public virtual void GetPrimitiveTypes1(BAsyncResult<ISet<byps.test.api.prim.PrimitiveTypes>> asyncResult) {
			BRequest_RemoteSetTypes_getPrimitiveTypes1 req = new BRequest_RemoteSetTypes_getPrimitiveTypes1();			
			transport.sendMethod(req, asyncResult);
		}
示例#54
0
		public virtual void SetString1(ISet<String> string1, BAsyncResult<Object> asyncResult) {
			BRequest_RemoteSetTypes_setString1 req = new BRequest_RemoteSetTypes_setString1();			
			req.string1Value = string1;
			transport.sendMethod(req, asyncResult);
		}
示例#55
0
		public virtual void SetDouble1(ISet<double> double1, BAsyncResult<Object> asyncResult) {
			BRequest_RemoteSetTypes_setDouble1 req = new BRequest_RemoteSetTypes_setDouble1();			
			req.double1Value = double1;
			transport.sendMethod(req, asyncResult);
		}
示例#56
0
		public virtual void KeepAlive(String token, BAsyncResult<Object> asyncResult) {
			BRequest_DispatcherService_keepAlive req = new BRequest_DispatcherService_keepAlive();			
			req.tokenValue = token;
			transport.sendMethod(req, asyncResult);
		}
示例#57
0
		public virtual void GetService(String token, bool onlyHere, BAsyncResult<FileSystemService> asyncResult) {
			BRequest_DispatcherService_getService req = new BRequest_DispatcherService_getService();			
			req.tokenValue = token;
			req.onlyHereValue = onlyHere;
			transport.sendMethod(req, asyncResult);
		}
示例#58
0
		public virtual void GetInt2(BAsyncResult<ISet<int[]>> asyncResult) {
			BRequest_RemoteSetTypes_getInt2 req = new BRequest_RemoteSetTypes_getInt2();			
			transport.sendMethod(req, asyncResult);
		}
示例#59
0
		public virtual void UnregisterNotifyService(String token, BAsyncResult<Object> asyncResult) {
			BRequest_DispatcherService_unregisterNotifyService req = new BRequest_DispatcherService_unregisterNotifyService();			
			req.tokenValue = token;
			transport.sendMethod(req, asyncResult);
		}
示例#60
0
		public virtual void SetInt2(ISet<int[]> int2, BAsyncResult<Object> asyncResult) {
			BRequest_RemoteSetTypes_setInt2 req = new BRequest_RemoteSetTypes_setInt2();			
			req.int2Value = int2;
			transport.sendMethod(req, asyncResult);
		}