org.apache.hadoop.yarn.api.protocolrecords.impl.pb
Class GetDelegationTokenResponsePBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<YarnServiceProtos.GetDelegationTokenResponseProto>
      extended by org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetDelegationTokenResponsePBImpl
All Implemented Interfaces:
GetDelegationTokenResponse

public class GetDelegationTokenResponsePBImpl
extends ProtoBase<YarnServiceProtos.GetDelegationTokenResponseProto>
implements GetDelegationTokenResponse


Constructor Summary
GetDelegationTokenResponsePBImpl()
           
GetDelegationTokenResponsePBImpl(YarnServiceProtos.GetDelegationTokenResponseProto proto)
           
 
Method Summary
 YarnServiceProtos.GetDelegationTokenResponseProto getProto()
           
 DelegationToken getRMDelegationToken()
           
 void setRMDelegationToken(DelegationToken appToken)
           
 
Methods inherited from class org.apache.hadoop.yarn.api.records.ProtoBase
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetDelegationTokenResponsePBImpl

public GetDelegationTokenResponsePBImpl()

GetDelegationTokenResponsePBImpl

public GetDelegationTokenResponsePBImpl(YarnServiceProtos.GetDelegationTokenResponseProto proto)
Method Detail

getRMDelegationToken

public DelegationToken getRMDelegationToken()
Specified by:
getRMDelegationToken in interface GetDelegationTokenResponse

setRMDelegationToken

public void setRMDelegationToken(DelegationToken appToken)
Specified by:
setRMDelegationToken in interface GetDelegationTokenResponse

getProto

public YarnServiceProtos.GetDelegationTokenResponseProto getProto()
Specified by:
getProto in class ProtoBase<YarnServiceProtos.GetDelegationTokenResponseProto>


Copyright © 2012 Apache Software Foundation. All Rights Reserved.