Esempio n. 1
0
        public virtual void PutStreamsOnClient(IList <System.IO.Stream> streams, BAsyncResult <Object> asyncResult)
        {
            BRequest_ServerIF_putStreamsOnClient req = new BRequest_ServerIF_putStreamsOnClient();

            req.streamsValue = streams;
            transport.sendMethod(req, asyncResult);
        }
Esempio n. 2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_ServerIF_putStreamsOnClient obj = (BRequest_ServerIF_putStreamsOnClient)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.streamsValue, false, byps.test.api.BSerializer_1218831438.instance);
        }
Esempio n. 3
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task PutStreamsOnClientAsync(IList <System.IO.Stream> streams)
        {
            BRequest_ServerIF_putStreamsOnClient req = new BRequest_ServerIF_putStreamsOnClient();

            req.streamsValue = streams;
            Task <Object> task = Task <Object> .Factory.FromAsync(transport.BeginSend <Object>, transport.EndSend <Object>, req, null);

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

            BBufferBin bbuf = bin.bbuf;

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

            return(obj);
        }
Esempio n. 5
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task PutStreamsOnClientAsync(IList<System.IO.Stream> streams){
			BRequest_ServerIF_putStreamsOnClient req = new BRequest_ServerIF_putStreamsOnClient();			
			req.streamsValue = streams;
			Task<Object> task = Task<Object>.Factory.FromAsync(transport.BeginSend<Object>, transport.EndSend<Object>, req, null);
			await task;
		}
Esempio n. 6
0
		public virtual void PutStreamsOnClient(IList<System.IO.Stream> streams, BAsyncResult<Object> asyncResult) {
			BRequest_ServerIF_putStreamsOnClient req = new BRequest_ServerIF_putStreamsOnClient();			
			req.streamsValue = streams;
			transport.sendMethod(req, asyncResult);
		}