// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task <short> GetShortAsync() { BRequest_RemotePrimitiveTypes_getShort req = new BRequest_RemotePrimitiveTypes_getShort(); Task <short> task = Task <short> .Factory.FromAsync(transport.BeginSend <short>, transport.EndSend <short>, req, null); return(await task); }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; BRequest_RemotePrimitiveTypes_getShort obj = (BRequest_RemotePrimitiveTypes_getShort)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemotePrimitiveTypes_getShort())); BBufferBin bbuf = bin.bbuf; return(obj); }
public virtual void GetShort(BAsyncResult <short> asyncResult) { BRequest_RemotePrimitiveTypes_getShort req = new BRequest_RemotePrimitiveTypes_getShort(); transport.sendMethod(req, asyncResult); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task<short> GetShortAsync(){ BRequest_RemotePrimitiveTypes_getShort req = new BRequest_RemotePrimitiveTypes_getShort(); Task<short> task = Task<short>.Factory.FromAsync(transport.BeginSend<short>, transport.EndSend<short>, req, null); return await task; }
public virtual void GetShort(BAsyncResult<short> asyncResult) { BRequest_RemotePrimitiveTypes_getShort req = new BRequest_RemotePrimitiveTypes_getShort(); transport.sendMethod(req, asyncResult); }