public class ServiceDaemon.SocketMonitor
extends java.lang.Object
Constructor and Description |
---|
SocketMonitor() |
Modifier and Type | Method and Description |
---|---|
int |
getLocalPort() |
int |
getReceiveBufferSize() |
boolean |
getReuseAddress() |
int |
getSoTimeout() |
boolean |
isBound() |
boolean |
isClosed() |
void |
setPerformancePreferences(int connectionTime,
int latency,
int bandwidth) |
void |
setReceiveBufferSize(int size) |
void |
setReuseAddress(boolean on) |
void |
setSoTimeout(int timeout) |
public int getLocalPort()
public boolean getReuseAddress() throws java.net.SocketException
java.net.SocketException
public int getSoTimeout() throws java.io.IOException
java.io.IOException
public boolean isClosed()
public boolean isBound()
public int getReceiveBufferSize() throws java.net.SocketException
java.net.SocketException
public void setReceiveBufferSize(int size) throws java.net.SocketException
java.net.SocketException
public void setPerformancePreferences(int connectionTime, int latency, int bandwidth)
public void setReuseAddress(boolean on) throws java.net.SocketException
java.net.SocketException
public void setSoTimeout(int timeout) throws java.net.SocketException
java.net.SocketException