Ejemplo n.º 1
0
 public void GetGroups_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   GetGroups_args args = new GetGroups_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   GetGroups_result result = new GetGroups_result();
   result.Success = iface_.GetGroups();
   oprot.WriteMessageBegin(new TMessage("GetGroups", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Ejemplo n.º 2
0
 public void send_GetGroups()
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("GetGroups", TMessageType.Call, seqid_));
   GetGroups_args args = new GetGroups_args();
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }