public abstract class CryptFilter extends ForwarderFilter.Abstract
ForwarderFilter.Abstract| Modifier and Type | Field and Description |
|---|---|
static String |
STRICT_PROPERTY
Strict property.
|
FILTER_UUID_PROPERTY, NO_MESSAGES, WARN_DROPPED_PROPERTY| Constructor and Description |
|---|
CryptFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cryptException(Crypt.Result cryptResult)
Handles a crypt exception.
|
protected Crypt |
getCrypt()
Gets the crypt instance.
|
protected boolean |
isStrict()
Asks if in strict mode.
|
boolean |
setUp(ForwarderModule forwarderModule,
KeyedGroups filterProperties)
Sets up this filter.
|
void |
tearDown()
Tears down what has been set up.
|
getMetadata, getModule, getThisLogger, getUUID, knownPointValue, loadMetadata, logDropped, needsMetadata, onMetadataRefreshed, onNewMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfilterpublic static final String STRICT_PROPERTY
public boolean setUp(ForwarderModule forwarderModule, KeyedGroups filterProperties)
setUp in interface ForwarderFiltersetUp in class ForwarderFilter.AbstractforwarderModule - The owner of this filter.filterProperties - The filter properties.public void tearDown()
tearDown in interface ForwarderFiltertearDown in class ForwarderFilter.Abstractprotected void cryptException(@Nonnull
Crypt.Result cryptResult)
cryptResult - The crypt result.@CheckReturnValue protected Crypt getCrypt()
@CheckReturnValue protected boolean isStrict()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.