|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.dns.SocketServerSettings
org.nhindirect.dns.DNSServerSettings
public class DNSServerSettings
Tuning parameters for the DNS server.
| Field Summary | |
|---|---|
static int |
DAFAULT_MAX_REQUEST_SIZE
|
| Constructor Summary | |
|---|---|
DNSServerSettings()
Create default DNS server settings |
|
| Method Summary | |
|---|---|
String |
getBindAddress()
Gets the IP4 addresses that the server will be bound to. |
int |
getMaxRequestSize()
Gets the maximum size in bytes of a request. |
int |
getPort()
Gets the IP port that the server will be listening on. |
void |
setBindAddress(String bindAddress)
Sets the IP4 addresses that the server will be bound to. |
void |
setMaxRequestSize(int maxRequestSize)
Sets the maximum size in bytes of a request. |
void |
setPort(int port)
Sets the IP port that the server will be listening on. |
| Methods inherited from class org.nhindirect.dns.SocketServerSettings |
|---|
getMaxActiveRequests, getMaxConnectionBacklog, getMaxOutstandingAccepts, getReadBufferSize, getReceiveTimeout, getSendTimeout, getSocketCloseTimeout, setMaxActiveRequests, setMaxConnectionBacklog, setMaxOutstandingAccepts, setReadBufferSize, setReceiveTimeout, setSendTimeout, setSocketCloseTimeout |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DAFAULT_MAX_REQUEST_SIZE
| Constructor Detail |
|---|
public DNSServerSettings()
| Method Detail |
|---|
public int getPort()
public void setPort(int port)
port - The IP port that the server will be listening on.public String getBindAddress()
public void setBindAddress(String bindAddress)
bindAddress - The IP4 addresses that the server will be bound to.public int getMaxRequestSize()
public void setMaxRequestSize(int maxRequestSize)
maxRequestSize - The maximum size in bytes of a request.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||