public void send_reportGroups(long syncOpRevision, List<Group> groups) #endif { oprot_.WriteMessageBegin(new TMessage("reportGroups", TMessageType.Call, seqid_)); reportGroups_args args = new reportGroups_args(); args.SyncOpRevision = syncOpRevision; args.Groups = groups; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void reportGroups_Process(int seqid, TProtocol iprot, TProtocol oprot) { reportGroups_args args = new reportGroups_args(); args.Read(iprot); iprot.ReadMessageEnd(); reportGroups_result result = new reportGroups_result(); try { iface_.reportGroups(args.SyncOpRevision, args.Groups); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("reportGroups", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }