Example #1
0
        public virtual void GetStreamsFromClient(bool materializeOnServer, BAsyncResult <IList <System.IO.Stream> > asyncResult)
        {
            BRequest_ServerIF_getStreamsFromClient req = new BRequest_ServerIF_getStreamsFromClient();

            req.materializeOnServerValue = materializeOnServer;
            transport.sendMethod(req, asyncResult);
        }
Example #2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BRequest_ServerIF_getStreamsFromClient obj = (BRequest_ServerIF_getStreamsFromClient)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.materializeOnServerValue);
        }
Example #3
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <IList <System.IO.Stream> > GetStreamsFromClientAsync(bool materializeOnServer)
        {
            BRequest_ServerIF_getStreamsFromClient req = new BRequest_ServerIF_getStreamsFromClient();

            req.materializeOnServerValue = materializeOnServer;
            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);
        }
Example #4
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_ServerIF_getStreamsFromClient obj = (BRequest_ServerIF_getStreamsFromClient)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_ServerIF_getStreamsFromClient()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.materializeOnServerValue = bbuf.getBoolean();

            return(obj);
        }
Example #5
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task<IList<System.IO.Stream>> GetStreamsFromClientAsync(bool materializeOnServer){
			BRequest_ServerIF_getStreamsFromClient req = new BRequest_ServerIF_getStreamsFromClient();			
			req.materializeOnServerValue = materializeOnServer;
			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;
		}
Example #6
0
		public virtual void GetStreamsFromClient(bool materializeOnServer, BAsyncResult<IList<System.IO.Stream>> asyncResult) {
			BRequest_ServerIF_getStreamsFromClient req = new BRequest_ServerIF_getStreamsFromClient();			
			req.materializeOnServerValue = materializeOnServer;
			transport.sendMethod(req, asyncResult);
		}