Beispiel #1
0
        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);
        }
Beispiel #3
0
        // 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);
        }
Beispiel #5
0
		// 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;
		}
Beispiel #6
0
		public virtual void SendChat(ChatStructure cs, BAsyncResult<ChatStructure> asyncResult) {
			BRequest_ClientIF_sendChat req = new BRequest_ClientIF_sendChat();			
			req.csValue = cs;
			transport.sendMethod(req, asyncResult);
		}