net.i2p.client.streaming
class I2PServerSocketFull extends Object implements I2PServerSocket
Constructor and Description |
---|
I2PServerSocketFull(I2PSocketManagerFull mgr) |
Modifier and Type | Method and Description |
---|---|
I2PSocket |
accept()
Warning, unlike regular ServerSocket, may return null
|
void |
close()
Close the connection.
|
I2PSocketManager |
getManager()
Access the manager which is coordinating the server socket
|
long |
getSoTimeout()
Get Sock Option accept timeout
|
void |
setSoTimeout(long x)
Set Sock Option accept timeout
|
public I2PServerSocketFull(I2PSocketManagerFull mgr)
public I2PSocket accept() throws I2PException, SocketTimeoutException
accept
in interface I2PServerSocket
I2PException
SocketTimeoutException
public long getSoTimeout()
I2PServerSocket
getSoTimeout
in interface I2PServerSocket
public void setSoTimeout(long x)
I2PServerSocket
setSoTimeout
in interface I2PServerSocket
x
- timeout in mspublic void close()
close
in interface I2PServerSocket
public I2PSocketManager getManager()
I2PServerSocket
getManager
in interface I2PServerSocket