// 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); }
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); }
public virtual void GetImage(BAsyncResult <System.IO.Stream> asyncResult) { BRequest_RemoteStreams_getImage req = new BRequest_RemoteStreams_getImage(); transport.sendMethod(req, asyncResult); }
// 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; }
public virtual void GetImage(BAsyncResult<System.IO.Stream> asyncResult) { BRequest_RemoteStreams_getImage req = new BRequest_RemoteStreams_getImage(); transport.sendMethod(req, asyncResult); }