public virtual void Doit(int value, BAsyncResult <int> asyncResult) { BRequest_RemoteWithAuthentication_doit req = new BRequest_RemoteWithAuthentication_doit(); req.valueValue = value; transport.sendMethod(req, asyncResult); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task <int> DoitAsync(int value) { BRequest_RemoteWithAuthentication_doit req = new BRequest_RemoteWithAuthentication_doit(); req.valueValue = value; Task <int> task = Task <int> .Factory.FromAsync(transport.BeginSend <int>, transport.EndSend <int>, req, null); return(await task); }
public override void write(Object obj1, BOutput bout1, long version) { BRequest_RemoteWithAuthentication_doit obj = (BRequest_RemoteWithAuthentication_doit)obj1; BOutputBin bout = (BOutputBin)bout1; BBufferBin bbuf = bout.bbuf; // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.valueValue); // checkpoint byps.gen.cs.PrintContext:494 bout.writeObj(obj.sessValue, false, null); }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; BRequest_RemoteWithAuthentication_doit obj = (BRequest_RemoteWithAuthentication_doit)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteWithAuthentication_doit())); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.valueValue = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.sessValue = (byps.test.api.auth.SessionInfo)bin.readObj(false, null); return(obj); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task<int> DoitAsync(int value){ BRequest_RemoteWithAuthentication_doit req = new BRequest_RemoteWithAuthentication_doit(); req.valueValue = value; Task<int> task = Task<int>.Factory.FromAsync(transport.BeginSend<int>, transport.EndSend<int>, req, null); return await task; }
public virtual void Doit(int value, BAsyncResult<int> asyncResult) { BRequest_RemoteWithAuthentication_doit req = new BRequest_RemoteWithAuthentication_doit(); req.valueValue = value; transport.sendMethod(req, asyncResult); }