class SOCKS4aServer extends SOCKSServer
_context, _log, addressType, clientSock, connHostName, connPort, props| コンストラクタ | 説明 |
|---|---|
SOCKS4aServer(I2PAppContext ctx,
java.net.Socket clientSock,
java.util.Properties props) |
Create a SOCKS4a server that communicates with the client using
the specified socket.
|
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
protected void |
confirmConnection() |
Confirm to the client that the connection has succeeded
|
java.net.Socket |
getClientSocket() |
Get a socket that can be used to send/receive 8-bit clean data
to/from the client.
|
I2PSocket |
getDestinationI2PSocket(I2PSOCKSTunnel t) |
Get an I2PSocket that can be used to send/receive 8-bit clean data
to/from the destination of the SOCKS connection.
|
protected void |
setupServer() |
Perform server initialization (expecially regarding protected
variables).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMappedDomainNameForIP, getOutproxyPluginpublic SOCKS4aServer(I2PAppContext ctx, java.net.Socket clientSock, java.util.Properties props)
clientSock - client socketprops - non-nullpublic java.net.Socket getClientSocket()
throws SOCKSException
SOCKSServergetClientSocket クラス内 SOCKSServerSOCKSExceptionprotected void setupServer()
throws SOCKSException
SOCKSServersetupServer クラス内 SOCKSServerSOCKSExceptionprotected void confirmConnection()
throws SOCKSException
SOCKSServerconfirmConnection クラス内 SOCKSServerSOCKSExceptionpublic I2PSocket getDestinationI2PSocket(I2PSOCKSTunnel t) throws SOCKSException
getDestinationI2PSocket クラス内 SOCKSServerSOCKSException