Example #1
0
        public virtual void RegisterNotifyService(String token, FileSystemNotify service)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            RegisterNotifyService(token, service, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task RegisterNotifyServiceAsync(String token, FileSystemNotify service){
			BRequest_DispatcherService_registerNotifyService req = new BRequest_DispatcherService_registerNotifyService();			
			req.tokenValue = token;
			req.serviceValue = service;
			Task<Object> task = Task<Object>.Factory.FromAsync(transport.BeginSend<Object>, transport.EndSend<Object>, req, null);
			await task;
		}
Example #3
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);
        }
Example #4
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task RegisterNotifyServiceAsync(String token, FileSystemNotify service)
        {
            BRequest_DispatcherService_registerNotifyService req = new BRequest_DispatcherService_registerNotifyService();

            req.tokenValue   = token;
            req.serviceValue = service;
            Task <Object> task = Task <Object> .Factory.FromAsync(transport.BeginSend <Object>, transport.EndSend <Object>, req, null);

            await task;
        }
 public override void execute(BRemote __byps__remote, BAsyncResultIF <Object> __byps__asyncResult)
 {
     // checkpoint byps.gen.cs.GenApiClass:406
     try {
         FileSystemNotify __byps__remoteT = (FileSystemNotify)__byps__remote;
         BAsyncResultSendMethod <Object> __byps__outerResult = new BAsyncResultSendMethod <Object>(__byps__asyncResult, new BResult_19());
         __byps__remoteT.Notify(notifyInfoValue, BAsyncResultHelper.ToDelegate(__byps__outerResult));
     } catch (Exception e) {
         __byps__asyncResult.setAsyncResult(null, e);
     }
 }
		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);
		}
		public virtual void RegisterNotifyService(String token, FileSystemNotify service) {
			BSyncResult<Object> asyncResult = new BSyncResult<Object>();			
			RegisterNotifyService(token, service, BAsyncResultHelper.ToDelegate<Object>(asyncResult));
			asyncResult.GetResult();			
		}
Example #8
0
 private void initStubs(BTransport transport)
 {
     dispatcherServiceVal = new BStub_DispatcherService(transport);
     fileSystemNotifyVal  = new BStub_FileSystemNotify(transport);
     fileSystemServiceVal = new BStub_FileSystemService(transport);
 }
Example #9
0
		private void initStubs(BTransport transport) {
			dispatcherServiceVal = new BStub_DispatcherService(transport);
			fileSystemNotifyVal = new BStub_FileSystemNotify(transport);
			fileSystemServiceVal = new BStub_FileSystemService(transport);
		}