示例#1
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task PutStreamsAsync(IList<System.IO.Stream> strm, int ctrl){
			BRequest_ClientIF_putStreams req = new BRequest_ClientIF_putStreams();			
			req.strmValue = strm;
			req.ctrlValue = ctrl;
			Task<Object> task = Task<Object>.Factory.FromAsync(transport.BeginSend<Object>, transport.EndSend<Object>, req, null);
			await task;
		}
示例#2
0
        public virtual void PutStreams(IList <System.IO.Stream> strm, int ctrl, BAsyncResult <Object> asyncResult)
        {
            BRequest_ClientIF_putStreams req = new BRequest_ClientIF_putStreams();

            req.strmValue = strm;
            req.ctrlValue = ctrl;
            transport.sendMethod(req, asyncResult);
        }
示例#3
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task PutStreamsAsync(IList <System.IO.Stream> strm, int ctrl)
        {
            BRequest_ClientIF_putStreams req = new BRequest_ClientIF_putStreams();

            req.strmValue = strm;
            req.ctrlValue = ctrl;
            Task <Object> task = Task <Object> .Factory.FromAsync(transport.BeginSend <Object>, transport.EndSend <Object>, req, null);

            await task;
        }
示例#4
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_ClientIF_putStreams obj = (BRequest_ClientIF_putStreams)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.ctrlValue);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.strmValue, false, byps.test.api.BSerializer_1218831438.instance);
        }
示例#5
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_ClientIF_putStreams obj = (BRequest_ClientIF_putStreams)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_ClientIF_putStreams()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.ctrlValue = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.strmValue = (IList <System.IO.Stream>)bin.readObj(false, null);

            return(obj);
        }
示例#6
0
		public virtual void PutStreams(IList<System.IO.Stream> strm, int ctrl, BAsyncResult<Object> asyncResult) {
			BRequest_ClientIF_putStreams req = new BRequest_ClientIF_putStreams();			
			req.strmValue = strm;
			req.ctrlValue = ctrl;
			transport.sendMethod(req, asyncResult);
		}