public virtual void PublishRemote(String name, BRemote remote, bool fowardToOtherServers, BAsyncResult<Object> asyncResult) { BRequest_RemoteServerCtrl_publishRemote req = new BRequest_RemoteServerCtrl_publishRemote(); req.nameValue = name; req.remoteValue = remote; req.fowardToOtherServersValue = fowardToOtherServers; transport.sendMethod(req, asyncResult); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task PublishRemoteAsync(String name, BRemote remote, bool fowardToOtherServers){ BRequest_RemoteServerCtrl_publishRemote req = new BRequest_RemoteServerCtrl_publishRemote(); req.nameValue = name; req.remoteValue = remote; req.fowardToOtherServersValue = fowardToOtherServers; Task<Object> task = Task<Object>.Factory.FromAsync(transport.BeginSend<Object>, transport.EndSend<Object>, req, null); await task; }
public virtual void PublishRemote(String name, BRemote remote, bool fowardToOtherServers, BAsyncResult <Object> asyncResult) { BRequest_RemoteServerCtrl_publishRemote req = new BRequest_RemoteServerCtrl_publishRemote(); req.nameValue = name; req.remoteValue = remote; req.fowardToOtherServersValue = fowardToOtherServers; transport.sendMethod(req, asyncResult); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task PublishRemoteAsync(String name, BRemote remote, bool fowardToOtherServers) { BRequest_RemoteServerCtrl_publishRemote req = new BRequest_RemoteServerCtrl_publishRemote(); req.nameValue = name; req.remoteValue = remote; req.fowardToOtherServersValue = fowardToOtherServers; Task <Object> task = Task <Object> .Factory.FromAsync(transport.BeginSend <Object>, transport.EndSend <Object>, req, null); await task; }
public override void write(Object obj1, BOutput bout1, long version) { BRequest_RemoteServerCtrl_publishRemote obj = (BRequest_RemoteServerCtrl_publishRemote)obj1; BOutputBin bout = (BOutputBin)bout1; BBufferBin bbuf = bout.bbuf; // checkpoint byps.gen.cs.PrintContext:494 bbuf.putBoolean(obj.fowardToOtherServersValue); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putString(obj.nameValue); // checkpoint byps.gen.cs.PrintContext:494 bout.writeObj(obj.remoteValue, false, null); }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; BRequest_RemoteServerCtrl_publishRemote obj = (BRequest_RemoteServerCtrl_publishRemote)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteServerCtrl_publishRemote())); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.fowardToOtherServersValue = bbuf.getBoolean(); // checkpoint byps.gen.cs.PrintContext:449 obj.nameValue = bbuf.getString(); // checkpoint byps.gen.cs.PrintContext:449 obj.remoteValue = (BRemote)bin.readObj(false, null); return(obj); }