Ejemplo n.º 1
0
        // checkpoint byps.gen.cs.GenRemoteStub:133
        public async Task <System.IO.Stream> GetImageAsync()
        {
            BRequest_RemoteStreams_getImage req  = new BRequest_RemoteStreams_getImage();
            Task <System.IO.Stream>         task = Task <System.IO.Stream> .Factory.FromAsync(transport.BeginSend <System.IO.Stream>, transport.EndSend <System.IO.Stream>, req, null);

            return(await task);
        }
Ejemplo n.º 2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            BRequest_RemoteStreams_getImage obj = (BRequest_RemoteStreams_getImage)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteStreams_getImage()));

            BBufferBin bbuf = bin.bbuf;

            return(obj);
        }
Ejemplo n.º 3
0
        public virtual void GetImage(BAsyncResult <System.IO.Stream> asyncResult)
        {
            BRequest_RemoteStreams_getImage req = new BRequest_RemoteStreams_getImage();

            transport.sendMethod(req, asyncResult);
        }
Ejemplo n.º 4
0
		// checkpoint byps.gen.cs.GenRemoteStub:133
		public async Task<System.IO.Stream> GetImageAsync(){
			BRequest_RemoteStreams_getImage req = new BRequest_RemoteStreams_getImage();			
			Task<System.IO.Stream> task = Task<System.IO.Stream>.Factory.FromAsync(transport.BeginSend<System.IO.Stream>, transport.EndSend<System.IO.Stream>, req, null);
			return await task;
		}
Ejemplo n.º 5
0
		public virtual void GetImage(BAsyncResult<System.IO.Stream> asyncResult) {
			BRequest_RemoteStreams_getImage req = new BRequest_RemoteStreams_getImage();			
			transport.sendMethod(req, asyncResult);
		}