org.apache.directory.shared.kerberos.codec.actions
Class AbstractReadHostAddresses<E extends org.apache.directory.shared.asn1.ber.Asn1Container>

java.lang.Object
  extended by org.apache.directory.shared.asn1.ber.grammar.GrammarAction<E>
      extended by org.apache.directory.shared.kerberos.codec.actions.AbstractReadHostAddresses<E>
All Implemented Interfaces:
org.apache.directory.shared.asn1.ber.grammar.Action<E>
Direct Known Subclasses:
StoreAddresses, StoreCaddr, StoreCaddr, StoreCAddr

public abstract class AbstractReadHostAddresses<E extends org.apache.directory.shared.asn1.ber.Asn1Container>
extends org.apache.directory.shared.asn1.ber.grammar.GrammarAction<E>

The abstract action used to read the HostAddresses

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.asn1.ber.grammar.GrammarAction
name
 
Constructor Summary
AbstractReadHostAddresses(String name)
          Instantiates a new AbstractReadHostAddresses action.
 
Method Summary
 void action(E container)
          
protected abstract  void setHostAddresses(HostAddresses hostAddresses, E container)
          set HostAddresses on the ASN.1 object present in the container
 
Methods inherited from class org.apache.directory.shared.asn1.ber.grammar.GrammarAction
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractReadHostAddresses

public AbstractReadHostAddresses(String name)
Instantiates a new AbstractReadHostAddresses action.

Method Detail

setHostAddresses

protected abstract void setHostAddresses(HostAddresses hostAddresses,
                                         E container)
set HostAddresses on the ASN.1 object present in the container

Parameters:
hostAddresses - the host addresses
container - the container holding the ASN.1 object

action

public final void action(E container)
                  throws org.apache.directory.shared.asn1.DecoderException

Throws:
org.apache.directory.shared.asn1.DecoderException


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