public void get_partitions_Process(int seqid, TProtocol iprot, TProtocol oprot)
{
get_partitions_args args = new get_partitions_args();
args.Read(iprot);
iprot.ReadMessageEnd();
get_partitions_result result = new get_partitions_result();
try
{
result.Success = iface_.get_partitions(args.Db_name, args.Tbl_name, args.Max_parts);
}
catch (NoSuchObjectException o1)
{
result.O1 = o1;
}
catch (MetaException o2)
{
result.O2 = o2;
}
oprot.WriteMessageBegin(new TMessage("get_partitions", TMessageType.Reply, seqid));
result.Write(oprot);
oprot.WriteMessageEnd();
oprot.Transport.Flush();
}