Пример #1
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task<FileSystemService> GetServiceAsync(String token, bool onlyHere){
			BRequest_DispatcherService_getService req = new BRequest_DispatcherService_getService();			
			req.tokenValue = token;
			req.onlyHereValue = onlyHere;
			Task<FileSystemService> task = Task<FileSystemService>.Factory.FromAsync(transport.BeginSend<FileSystemService>, transport.EndSend<FileSystemService>, req, null);
			return await task;
		}
Пример #2
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);
        }
Пример #3
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <FileSystemService> GetServiceAsync(String token, bool onlyHere)
        {
            BRequest_DispatcherService_getService req = new BRequest_DispatcherService_getService();

            req.tokenValue    = token;
            req.onlyHereValue = onlyHere;
            Task <FileSystemService> task = Task <FileSystemService> .Factory.FromAsync(transport.BeginSend <FileSystemService>, transport.EndSend <FileSystemService>, req, null);

            return(await task);
        }
Пример #4
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_DispatcherService_getService obj = (BRequest_DispatcherService_getService)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.onlyHereValue);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.tokenValue);
        }
Пример #5
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_DispatcherService_getService obj = (BRequest_DispatcherService_getService)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_DispatcherService_getService()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.onlyHereValue = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.tokenValue = bbuf.getString();

            return(obj);
        }
Пример #6
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);
		}