public class MD5Filter extends java.lang.Object implements ISOFilter, Configurable
ISOFilter
ISOFilter.VetoException
Constructor and Description |
---|
MD5Filter() |
Modifier and Type | Method and Description |
---|---|
ISOMsg |
filter(ISOChannel channel,
ISOMsg m,
LogEvent evt) |
int[] |
getFields(ISOMsg m)
factory method
|
protected byte[] |
getKey()
hook for custom key storage (i.e.
|
void |
setConfiguration(Configuration cfg) |
void |
setFields(int[] fields) |
public void setConfiguration(Configuration cfg) throws ConfigurationException
setConfiguration
in interface Configurable
cfg
- ConfigurationException
public void setFields(int[] fields)
public int[] getFields(ISOMsg m)
m
- current ISOMsgpublic ISOMsg filter(ISOChannel channel, ISOMsg m, LogEvent evt) throws ISOFilter.VetoException
filter
in interface ISOFilter
channel
- current ISOChannel instancem
- ISOMsg to filterevt
- LogEventISOFilter.VetoException
protected byte[] getKey()