javadoc
This commit is contained in:
@ -19,9 +19,10 @@ public interface I2PServerSocket {
|
|||||||
/**
|
/**
|
||||||
* Waits for the next socket connecting. If a remote user tried to make a
|
* Waits for the next socket connecting. If a remote user tried to make a
|
||||||
* connection and the local application wasn't .accept()ing new connections,
|
* connection and the local application wasn't .accept()ing new connections,
|
||||||
* they should get refused (if .accept() doesnt occur in some small period)
|
* they should get refused (if .accept() doesnt occur in some small period).
|
||||||
|
* Warning - unlike regular ServerSocket, may return null.
|
||||||
*
|
*
|
||||||
* @return a connected I2PSocket
|
* @return a connected I2PSocket OR NULL
|
||||||
*
|
*
|
||||||
* @throws I2PException if there is a problem with reading a new socket
|
* @throws I2PException if there is a problem with reading a new socket
|
||||||
* from the data available (aka the I2PSession closed, etc)
|
* from the data available (aka the I2PSession closed, etc)
|
||||||
|
@ -15,8 +15,9 @@ class I2PServerSocketFull implements I2PServerSocket {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Warning, unlike regular ServerSocket, may return null
|
||||||
*
|
*
|
||||||
* @return I2PSocket
|
* @return I2PSocket OR NULL
|
||||||
* @throws net.i2p.I2PException
|
* @throws net.i2p.I2PException
|
||||||
* @throws SocketTimeoutException
|
* @throws SocketTimeoutException
|
||||||
*/
|
*/
|
||||||
|
@ -112,7 +112,7 @@ class I2PSocketManagerFull implements I2PSocketManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @return connected I2PSocket
|
* @return connected I2PSocket OR NULL
|
||||||
* @throws net.i2p.I2PException
|
* @throws net.i2p.I2PException
|
||||||
* @throws java.net.SocketTimeoutException
|
* @throws java.net.SocketTimeoutException
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user