Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        // 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);
        }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
        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);
        }
Ejemplo n.º 5
0
		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);
		}
Ejemplo n.º 6
0
		// 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;
		}