public virtual void BeginWatchFolder(String dir, bool recursive, String extraInfo, BAsyncResult <int> asyncResult) { BRequest_FileSystemService_beginWatchFolder req = new BRequest_FileSystemService_beginWatchFolder(); req.dirValue = dir; req.recursiveValue = recursive; req.extraInfoValue = extraInfo; transport.sendMethod(req, asyncResult); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task <int> BeginWatchFolderAsync(String dir, bool recursive, String extraInfo) { BRequest_FileSystemService_beginWatchFolder req = new BRequest_FileSystemService_beginWatchFolder(); req.dirValue = dir; req.recursiveValue = recursive; req.extraInfoValue = extraInfo; Task <int> task = Task <int> .Factory.FromAsync(transport.BeginSend <int>, transport.EndSend <int>, req, null); return(await task); }
public override void write(Object obj1, BOutput bout1, long version) { BRequest_FileSystemService_beginWatchFolder obj = (BRequest_FileSystemService_beginWatchFolder)obj1; BOutputBin bout = (BOutputBin)bout1; BBufferBin bbuf = bout.bbuf; // checkpoint byps.gen.cs.PrintContext:494 bbuf.putString(obj.dirValue); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putString(obj.extraInfoValue); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putBoolean(obj.recursiveValue); }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; BRequest_FileSystemService_beginWatchFolder obj = (BRequest_FileSystemService_beginWatchFolder)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_FileSystemService_beginWatchFolder())); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.dirValue = bbuf.getString(); // checkpoint byps.gen.cs.PrintContext:449 obj.extraInfoValue = bbuf.getString(); // checkpoint byps.gen.cs.PrintContext:449 obj.recursiveValue = bbuf.getBoolean(); return(obj); }
public virtual void BeginWatchFolder(String dir, bool recursive, String extraInfo, BAsyncResult<int> asyncResult) { BRequest_FileSystemService_beginWatchFolder req = new BRequest_FileSystemService_beginWatchFolder(); req.dirValue = dir; req.recursiveValue = recursive; req.extraInfoValue = extraInfo; transport.sendMethod(req, asyncResult); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task<int> BeginWatchFolderAsync(String dir, bool recursive, String extraInfo){ BRequest_FileSystemService_beginWatchFolder req = new BRequest_FileSystemService_beginWatchFolder(); req.dirValue = dir; req.recursiveValue = recursive; req.extraInfoValue = extraInfo; Task<int> task = Task<int>.Factory.FromAsync(transport.BeginSend<int>, transport.EndSend<int>, req, null); return await task; }