public void send_getPendingList(string userId, string groupId, Session session) #endif { oprot_.WriteMessageBegin(new TMessage("getPendingList", TMessageType.Call, seqid_)); getPendingList_args args = new getPendingList_args(); args.UserId = userId; args.GroupId = groupId; args.Session = session; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void getPendingList_Process(int seqid, TProtocol iprot, TProtocol oprot) { getPendingList_args args = new getPendingList_args(); args.Read(iprot); iprot.ReadMessageEnd(); getPendingList_result result = new getPendingList_result(); try { result.Success = iface_.getPendingList(args.UserId, args.GroupId, args.Session); } catch (ChatGroupException ex) { result.Ex = ex; } catch (SessionException se) { result.Se = se; } oprot.WriteMessageBegin(new TMessage("getPendingList", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }