|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Define the configuration for streaming and verifying data on the socket.
Field Summary | |
static java.lang.String |
PROP_BUFFER_SIZE
|
static java.lang.String |
PROP_CONNECT_TIMEOUT
|
static java.lang.String |
PROP_READ_TIMEOUT
|
static java.lang.String |
PROP_WRITE_TIMEOUT
|
Method Summary | |
long |
getConnectTimeout()
How long we will wait for the ACK from a SYN, in milliseconds. |
int |
getMaxBufferSize()
How much data will we accept that hasn't been written out yet. |
long |
getReadTimeout()
What is the longest we'll block on the input stream while waiting for more data. |
long |
getWriteTimeout()
What is the longest we'll block on the output stream while waiting for the data to flush. |
void |
setConnectTimeout(long ms)
Define how long we will wait for the ACK from a SYN, in milliseconds. |
void |
setMaxBufferSize(int numBytes)
How much data will we accept that hasn't been written out yet. |
void |
setReadTimeout(long ms)
What is the longest we'll block on the input stream while waiting for more data. |
void |
setWriteTimeout(long ms)
What is the longest we'll block on the output stream while waiting for the data to flush. |
Field Detail |
public static final java.lang.String PROP_BUFFER_SIZE
public static final java.lang.String PROP_CONNECT_TIMEOUT
public static final java.lang.String PROP_READ_TIMEOUT
public static final java.lang.String PROP_WRITE_TIMEOUT
Method Detail |
public long getConnectTimeout()
public void setConnectTimeout(long ms)
public long getReadTimeout()
public void setReadTimeout(long ms)
public int getMaxBufferSize()
public void setMaxBufferSize(int numBytes)
public long getWriteTimeout()
public void setWriteTimeout(long ms)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |