public virtual void GetNotifyService(String token, bool onlyHere, BAsyncResult <FileSystemNotify> asyncResult) { BRequest_DispatcherService_getNotifyService req = new BRequest_DispatcherService_getNotifyService(); req.tokenValue = token; req.onlyHereValue = onlyHere; transport.sendMethod(req, asyncResult); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task <FileSystemNotify> GetNotifyServiceAsync(String token, bool onlyHere) { BRequest_DispatcherService_getNotifyService req = new BRequest_DispatcherService_getNotifyService(); req.tokenValue = token; req.onlyHereValue = onlyHere; Task <FileSystemNotify> task = Task <FileSystemNotify> .Factory.FromAsync(transport.BeginSend <FileSystemNotify>, transport.EndSend <FileSystemNotify>, req, null); return(await task); }
public override void write(Object obj1, BOutput bout1, long version) { BRequest_DispatcherService_getNotifyService obj = (BRequest_DispatcherService_getNotifyService)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); }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; BRequest_DispatcherService_getNotifyService obj = (BRequest_DispatcherService_getNotifyService)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_DispatcherService_getNotifyService())); 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); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task<FileSystemNotify> GetNotifyServiceAsync(String token, bool onlyHere){ BRequest_DispatcherService_getNotifyService req = new BRequest_DispatcherService_getNotifyService(); req.tokenValue = token; req.onlyHereValue = onlyHere; Task<FileSystemNotify> task = Task<FileSystemNotify>.Factory.FromAsync(transport.BeginSend<FileSystemNotify>, transport.EndSend<FileSystemNotify>, req, null); return await task; }
public virtual void GetNotifyService(String token, bool onlyHere, BAsyncResult<FileSystemNotify> asyncResult) { BRequest_DispatcherService_getNotifyService req = new BRequest_DispatcherService_getNotifyService(); req.tokenValue = token; req.onlyHereValue = onlyHere; transport.sendMethod(req, asyncResult); }