org.apache.directory.api.ldap.codec.actions.controls
Class StoreControlValue

java.lang.Object
  extended by org.apache.directory.api.asn1.ber.grammar.GrammarAction<LdapMessageContainer<MessageDecorator<? extends Message>>>
      extended by org.apache.directory.api.ldap.codec.actions.controls.StoreControlValue
All Implemented Interfaces:
Action<LdapMessageContainer<MessageDecorator<? extends Message>>>

public class StoreControlValue
extends GrammarAction<LdapMessageContainer<MessageDecorator<? extends Message>>>

The action used to set the value of a control. This is an extension point where different controls can be plugged in (at least eventually). For now we hard code controls.

 Control ::= SEQUENCE {
     ...
     controlValue OCTET STRING OPTIONAL }
 

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.api.asn1.ber.grammar.GrammarAction
name
 
Constructor Summary
StoreControlValue()
          Instantiates a new StoreControlValue action.
 
Method Summary
 void action(LdapMessageContainer<MessageDecorator<? extends Message>> container)
          The action to be executed.
 
Methods inherited from class org.apache.directory.api.asn1.ber.grammar.GrammarAction
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StoreControlValue

public StoreControlValue()
Instantiates a new StoreControlValue action.

Method Detail

action

public void action(LdapMessageContainer<MessageDecorator<? extends Message>> container)
            throws DecoderException
The action to be executed.

Parameters:
container - The container which stores the current data
Throws:
DecoderException - Thrown if something went wrong.


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