Apache.Hadoop.Hive.ThriftHiveMetastore.Processor.revoke_privileges_Process C# (CSharp) Method

revoke_privileges_Process() public method

public revoke_privileges_Process ( int seqid, TProtocol iprot, TProtocol oprot ) : void
seqid int
iprot Thrift.Protocol.TProtocol
oprot Thrift.Protocol.TProtocol
return void
            public void revoke_privileges_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                revoke_privileges_args args = new revoke_privileges_args();
                args.Read(iprot);
                iprot.ReadMessageEnd();
                revoke_privileges_result result = new revoke_privileges_result();
                try
                {
                    result.Success = iface_.revoke_privileges(args.Privileges);
                }
                catch (MetaException o1)
                {
                    result.O1 = o1;
                }
                oprot.WriteMessageBegin(new TMessage("revoke_privileges", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }