I2PServerSocketclass I2PServerSocketFull extends java.lang.Object implements I2PServerSocket
| コンストラクタ | 説明 |
|---|---|
I2PServerSocketFull(I2PSocketManagerFull mgr) |
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
I2PSocket |
accept() |
Waits for the next socket connecting.
|
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
|
public I2PServerSocketFull(I2PSocketManagerFull mgr)
public I2PSocket accept() throws I2PException, java.net.ConnectException, java.net.SocketTimeoutException
accept インタフェース内 I2PServerSocketI2PException - if there is a problem with reading a new socket
from the data available (e.g. the I2PSession is closed)RouterRestartException - (extends I2PException) if the router is apparently restarting, since 0.9.34java.net.ConnectException - if the I2PServerSocket is closed, or if interrupted.
Not actually thrown through 0.9.16; thrown as of 0.9.17java.net.SocketTimeoutException - if a timeout was previously set with setSoTimeout and the timeout has been reached.@Deprecated public AcceptingChannel getChannel()
getChannel インタフェース内 I2PServerSocketpublic long getSoTimeout()
I2PServerSocketgetSoTimeout インタフェース内 I2PServerSocketpublic void setSoTimeout(long x)
I2PServerSocketsetSoTimeout インタフェース内 I2PServerSocketx - timeout in mspublic void close()
close インタフェース内 I2PServerSocketpublic I2PSocketManager getManager()
I2PServerSocketgetManager インタフェース内 I2PServerSocket