public class IPProperties extends java.lang.Object implements PropertiesHandler
| Modifier and Type | Field and Description |
|---|---|
static PropertyHeader |
HEADER_SUBSECTION_FILTER |
static java.lang.String |
IPV4 |
static java.lang.String |
IPV6 |
static int |
NETWORK_DETECTION_REFRESHING_TIME |
static java.lang.String |
PROP_AUTOBINDING_IPVERSION |
static java.lang.String |
PROP_FILTER_ADDRESS |
static java.lang.String |
PROP_FILTER_INVERTED |
static java.lang.String |
PROP_FILTER_PERMISSION |
static java.lang.String |
PROP_FILTER_TYPE |
static java.lang.String |
PROP_IS_IP_FILTER_DISABLED |
static java.lang.String |
PROP_MAX_DGRAM_SIZE
Property id to specify the size of the ThreadPool.
|
static java.lang.String |
VALUE_FILTER_ADDRESS |
static java.lang.String |
VALUE_FILTER_ADDRESS_RANGE |
static java.lang.String |
VALUE_FILTER_OWNADDRESS |
static java.lang.String |
VALUE_FILTER_SUBNET |
FALSE, TRUE| Modifier and Type | Method and Description |
|---|---|
void |
finishedSection(int depth)
This method indicates the PropertiesHandler, that the last section with the given depth has
been read completely.
|
static IPProperties |
getInstance() |
int |
getMaxDatagramSize()
get the maximum UDP datagram size.
|
boolean |
isUseIPv4InAutobinding() |
boolean |
isUseIPv6InAutobinding() |
void |
setMaxDatagramSize(int maxDatagramSize) |
void |
setProperties(PropertyHeader header,
Property property) |
void |
setUseIPv4InAutobinding(boolean useIPv4InAutobinding) |
void |
setUseIPv6InAutobinding(boolean useIPv6InAutobinding) |
public static final java.lang.String IPV4
public static final java.lang.String IPV6
public static final java.lang.String PROP_MAX_DGRAM_SIZE
public static final java.lang.String PROP_AUTOBINDING_IPVERSION
public static final java.lang.String PROP_FILTER_TYPE
public static final java.lang.String PROP_IS_IP_FILTER_DISABLED
public static final java.lang.String VALUE_FILTER_ADDRESS
public static final java.lang.String VALUE_FILTER_OWNADDRESS
public static final java.lang.String VALUE_FILTER_ADDRESS_RANGE
public static final java.lang.String VALUE_FILTER_SUBNET
public static final java.lang.String PROP_FILTER_PERMISSION
public static final java.lang.String PROP_FILTER_INVERTED
public static final java.lang.String PROP_FILTER_ADDRESS
public static final PropertyHeader HEADER_SUBSECTION_FILTER
public static final int NETWORK_DETECTION_REFRESHING_TIME
public static IPProperties getInstance()
public void finishedSection(int depth)
PropertiesHandlerfinishedSection in interface PropertiesHandlerdepth - depth of section.public void setProperties(PropertyHeader header, Property property)
setProperties in interface PropertiesHandlerheader - header of sectionproperty - property within sectionpublic int getMaxDatagramSize()
public void setMaxDatagramSize(int maxDatagramSize)
public boolean isUseIPv4InAutobinding()
public void setUseIPv4InAutobinding(boolean useIPv4InAutobinding)
public boolean isUseIPv6InAutobinding()
public void setUseIPv6InAutobinding(boolean useIPv6InAutobinding)