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, onNewMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
filter
public static final String STRICT_PROPERTY
public boolean setUp(ForwarderModule forwarderModule, KeyedGroups filterProperties)
setUp
in interface ForwarderFilter
setUp
in class ForwarderFilter.Abstract
forwarderModule
- The owner of this filter.filterProperties
- The filter properties.public void tearDown()
tearDown
in interface ForwarderFilter
tearDown
in class ForwarderFilter.Abstract
protected 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.