public class StoreMessageId extends GrammarAction<LdapMessageContainer<MessageDecorator<? extends Message>>>
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.
| Modifier and Type | Field and Description |
|---|---|
private static boolean |
IS_DEBUG
Speedup for logs
|
private static org.slf4j.Logger |
LOG
The logger
|
name| Constructor and Description |
|---|
StoreMessageId()
Instantiates a new action.
|
| Modifier and Type | Method and Description |
|---|---|
void |
action(LdapMessageContainer<MessageDecorator<? extends Message>> container)
The action to be executed.
|
toStringprivate static final org.slf4j.Logger LOG
private static final boolean IS_DEBUG
public void action(LdapMessageContainer<MessageDecorator<? extends Message>> container) throws DecoderException
container - The container which stores the current dataDecoderException - Thrown if something went wrong.