|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.i2p.client.streaming.I2PServerSocketFull
class I2PServerSocketFull
Bridge to allow accepting new connections
| Constructor Summary | |
|---|---|
I2PServerSocketFull(I2PSocketManagerFull mgr)
|
|
| Method Summary | |
|---|---|
I2PSocket |
accept()
Warning, unlike regular ServerSocket, may return null |
void |
close()
Close the connection. |
AcceptingChannel |
getChannel()
|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public I2PServerSocketFull(I2PSocketManagerFull mgr)
| Method Detail |
|---|
public I2PSocket accept()
throws I2PException,
SocketTimeoutException
accept in interface I2PServerSocketI2PException
SocketTimeoutExceptionpublic AcceptingChannel getChannel()
getChannel in interface I2PServerSocketpublic long getSoTimeout()
I2PServerSocket
getSoTimeout in interface I2PServerSocketpublic void setSoTimeout(long x)
I2PServerSocket
setSoTimeout in interface I2PServerSocketx - timeout in mspublic void close()
close in interface I2PServerSocketpublic I2PSocketManager getManager()
I2PServerSocket
getManager in interface I2PServerSocket
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||