コード例 #1
0
 public void send_get_role_names()
 {
     oprot_.WriteMessageBegin(new TMessage("get_role_names", TMessageType.Call, seqid_));
     get_role_names_args args = new get_role_names_args();
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }
コード例 #2
0
 public void get_role_names_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     get_role_names_args args = new get_role_names_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     get_role_names_result result = new get_role_names_result();
     try
     {
         result.Success = iface_.get_role_names();
     }
     catch (MetaException o1)
     {
         result.O1 = o1;
     }
     oprot.WriteMessageBegin(new TMessage("get_role_names", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }