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