Added more complete javadocs to ministreaming and cleaned up overrides so

the code is JDK5 compliant. There remains some unchecked warnings, but these
aren't important at this juncture.
This commit is contained in:
sponge
2008-10-11 10:28:31 +00:00
parent f3f7537ec6
commit ca5c15d4de
13 changed files with 72 additions and 14 deletions

View File

@@ -12,6 +12,7 @@ import net.i2p.I2PException;
public interface I2PServerSocket {
/**
* Closes the socket.
* @throws I2PException
*/
public void close() throws I2PException;
@@ -31,18 +32,19 @@ public interface I2PServerSocket {
/**
* Set Sock Option accept timeout
* @param x
* @param x timeout in ms
*/
public void setSoTimeout(long x);
/**
* Get Sock Option accept timeout
* @return timeout
* @return timeout in ms
*/
public long getSoTimeout();
/**
* Access the manager which is coordinating the server socket
* @return I2PSocketManager
*/
public I2PSocketManager getManager();
}