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

get_delegation_token_Process() public method

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