|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I2PSocketOptions
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 |
---|
static final java.lang.String PROP_BUFFER_SIZE
static final java.lang.String PROP_CONNECT_TIMEOUT
static final java.lang.String PROP_READ_TIMEOUT
static final java.lang.String PROP_WRITE_TIMEOUT
Method Detail |
---|
long getConnectTimeout()
void setConnectTimeout(long ms)
long getReadTimeout()
void setReadTimeout(long ms)
int getMaxBufferSize()
void setMaxBufferSize(int numBytes)
long getWriteTimeout()
void setWriteTimeout(long ms)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |