Exemple #1
0
        public virtual void GetStreams(int ctrl, BAsyncResult <IList <System.IO.Stream> > asyncResult)
        {
            BRequest_ClientIF_getStreams req = new BRequest_ClientIF_getStreams();

            req.ctrlValue = ctrl;
            transport.sendMethod(req, asyncResult);
        }
Exemple #2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_ClientIF_getStreams obj = (BRequest_ClientIF_getStreams)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.ctrlValue);
        }
Exemple #3
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <IList <System.IO.Stream> > GetStreamsAsync(int ctrl)
        {
            BRequest_ClientIF_getStreams req = new BRequest_ClientIF_getStreams();

            req.ctrlValue = ctrl;
            Task <IList <System.IO.Stream> > task = Task <IList <System.IO.Stream> > .Factory.FromAsync(transport.BeginSend <IList <System.IO.Stream> >, transport.EndSend <IList <System.IO.Stream> >, req, null);

            return(await task);
        }
Exemple #4
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_ClientIF_getStreams obj = (BRequest_ClientIF_getStreams)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_ClientIF_getStreams()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.ctrlValue = bbuf.getInt();

            return(obj);
        }
Exemple #5
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task<IList<System.IO.Stream>> GetStreamsAsync(int ctrl){
			BRequest_ClientIF_getStreams req = new BRequest_ClientIF_getStreams();			
			req.ctrlValue = ctrl;
			Task<IList<System.IO.Stream>> task = Task<IList<System.IO.Stream>>.Factory.FromAsync(transport.BeginSend<IList<System.IO.Stream>>, transport.EndSend<IList<System.IO.Stream>>, req, null);
			return await task;
		}
Exemple #6
0
		public virtual void GetStreams(int ctrl, BAsyncResult<IList<System.IO.Stream>> asyncResult) {
			BRequest_ClientIF_getStreams req = new BRequest_ClientIF_getStreams();			
			req.ctrlValue = ctrl;
			transport.sendMethod(req, asyncResult);
		}