Class StoreMessageId
- java.lang.Object
-
- org.apache.directory.api.asn1.ber.grammar.GrammarAction<LdapMessageContainer<MessageDecorator<? extends Message>>>
-
- org.apache.directory.api.ldap.codec.actions.ldapMessage.StoreMessageId
-
- All Implemented Interfaces:
Action<LdapMessageContainer<MessageDecorator<? extends Message>>>
public class StoreMessageId extends GrammarAction<LdapMessageContainer<MessageDecorator<? extends Message>>>
The action used to store the LdapMessage MessageID.LDAPMessage --> ... MessageId ... Checks that MessageId is in [0 .. 2147483647] and store the value in the LdapMessage Object (2147483647 = Integer.MAX_VALUE) The next state will be MESSAGE_ID_STATE The message ID will be temporarily stored in the container, because we can't store it into an object.
- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description StoreMessageId()
Instantiates a new action.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Constructor Detail
-
StoreMessageId
public StoreMessageId()
Instantiates a new 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.
-
-