org.apache.directory.shared.kerberos.codec.krbError
Class KrbErrorContainer

java.lang.Object
  extended by org.apache.directory.shared.asn1.ber.AbstractContainer
      extended by org.apache.directory.shared.kerberos.codec.krbError.KrbErrorContainer
All Implemented Interfaces:
org.apache.directory.shared.asn1.ber.Asn1Container

public class KrbErrorContainer
extends org.apache.directory.shared.asn1.ber.AbstractContainer

The KrbError container stores the KRB-ERROR decoded by the Asn1Decoder.

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer
decodeBytes, grammar, stateStack
 
Constructor Summary
KrbErrorContainer(ByteBuffer stream)
          Creates a new KrbErrorContainer object.
 
Method Summary
 KrbError getKrbError()
           
 void setKrbError(KrbError krbError)
          Set a KrbError Object into the container.
 
Methods inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer
clean, getCurrentTLV, getDecodeBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStream, getTlvId, getTransition, incrementDecodeBytes, isGathering, isGrammarEndAllowed, rewind, setCurrentTLV, setGathering, setGrammarEndAllowed, setMaxPDUSize, setParentTLV, setState, setStream, setTransition, updateParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KrbErrorContainer

public KrbErrorContainer(ByteBuffer stream)
Creates a new KrbErrorContainer object.

Parameters:
stream - The stream containing the data to decode
Method Detail

getKrbError

public KrbError getKrbError()
Returns:
Returns the KrbError.

setKrbError

public void setKrbError(KrbError krbError)
Set a KrbError Object into the container. It will be completed by the KerberosDecoder.

Parameters:
krbError - The KrbError to set.


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.