Beispiel #1
0
 public void send_getCompactGroup(string groupId)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getCompactGroup", TMessageType.Call, seqid_));
   getCompactGroup_args args = new getCompactGroup_args();
   args.GroupId = groupId;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Beispiel #2
0
 public void getCompactGroup_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getCompactGroup_args args = new getCompactGroup_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getCompactGroup_result result = new getCompactGroup_result();
   try {
     result.Success = iface_.getCompactGroup(args.GroupId);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("getCompactGroup", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }