public void chatMemAddRem_Process(int seqid, TProtocol iprot, TProtocol oprot) { chatMemAddRem_args args = new chatMemAddRem_args(); args.Read(iprot); iprot.ReadMessageEnd(); chatMemAddRem_result result = new chatMemAddRem_result(); try { iface_.chatMemAddRem(args.InstanceId, args.UserList, args.Session); } catch (ChatUserInfoException ex) { result.Ex = ex; } catch (SessionException se) { result.Se = se; } oprot.WriteMessageBegin(new TMessage("chatMemAddRem", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_chatMemAddRem(string instanceId, List<string> userList, Session session) #endif { oprot_.WriteMessageBegin(new TMessage("chatMemAddRem", TMessageType.Call, seqid_)); chatMemAddRem_args args = new chatMemAddRem_args(); args.InstanceId = instanceId; args.UserList = userList; args.Session = session; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }