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.
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.
|
toStringpublic void action(LdapMessageContainer<MessageDecorator<? extends Message>> container) throws DecoderException
container - The container which stores the current dataDecoderException - Thrown if something went wrong.Copyright © 2021. All rights reserved.