public class IPFilterOwnAddresses extends IPFilter
FILTER_TYPE_ADDRESS, FILTER_TYPE_ADDRESS_RANGE, FILTER_TYPE_OWN_ADDRESSES, FILTER_TYPE_SUBNETallow, inverted, KEY_ALLOW, KEY_INVERTED| Modifier | Constructor and Description |
|---|---|
protected |
IPFilterOwnAddresses() |
|
IPFilterOwnAddresses(boolean allow,
boolean inverted) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(java.lang.Object[] key) |
protected java.lang.String |
getInfo() |
int |
getType() |
void |
readFromMemento(Memento m) |
void |
saveToMemento(Memento m) |
calculateInversion, isAllowed, isInvertedprotected IPFilterOwnAddresses()
public IPFilterOwnAddresses(boolean allow,
boolean inverted)
public boolean check(java.lang.Object[] key)
check in class AddressFilterEntryIPAddress is allowed by the specified IPFilter, false if notpublic void readFromMemento(Memento m) throws java.io.IOException
readFromMemento in class AddressFilterEntryjava.io.IOExceptionpublic void saveToMemento(Memento m)
saveToMemento in class AddressFilterEntry