public virtual void SendChat(ChatStructure cs, BAsyncResult <ChatStructure> asyncResult) { BRequest_ClientIF_sendChat req = new BRequest_ClientIF_sendChat(); req.csValue = cs; transport.sendMethod(req, asyncResult); }
public override void write(Object obj1, BOutput bout1, long version) { BRequest_ClientIF_sendChat obj = (BRequest_ClientIF_sendChat)obj1; BOutputBin bout = (BOutputBin)bout1; BBufferBin bbuf = bout.bbuf; // checkpoint byps.gen.cs.PrintContext:494 bout.writeObj(obj.csValue, false, null); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task <ChatStructure> SendChatAsync(ChatStructure cs) { BRequest_ClientIF_sendChat req = new BRequest_ClientIF_sendChat(); req.csValue = cs; Task <ChatStructure> task = Task <ChatStructure> .Factory.FromAsync(transport.BeginSend <ChatStructure>, transport.EndSend <ChatStructure>, req, null); return(await task); }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; BRequest_ClientIF_sendChat obj = (BRequest_ClientIF_sendChat)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_ClientIF_sendChat())); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.csValue = (byps.test.api.srvr.ChatStructure)bin.readObj(false, null); return(obj); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task<ChatStructure> SendChatAsync(ChatStructure cs){ BRequest_ClientIF_sendChat req = new BRequest_ClientIF_sendChat(); req.csValue = cs; Task<ChatStructure> task = Task<ChatStructure>.Factory.FromAsync(transport.BeginSend<ChatStructure>, transport.EndSend<ChatStructure>, req, null); return await task; }
public virtual void SendChat(ChatStructure cs, BAsyncResult<ChatStructure> asyncResult) { BRequest_ClientIF_sendChat req = new BRequest_ClientIF_sendChat(); req.csValue = cs; transport.sendMethod(req, asyncResult); }