class SOCKSServerFactory
extends java.lang.Object
コンストラクタ | 説明 |
---|---|
SOCKSServerFactory() |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
static SOCKSServer |
createSOCKSServer(I2PAppContext ctx,
java.net.Socket s,
java.util.Properties props) |
Create a new SOCKS server, using the provided socket (that must
be connected to a client) to select the proper SOCKS protocol
version.
|
public static SOCKSServer createSOCKSServer(I2PAppContext ctx, java.net.Socket s, java.util.Properties props) throws SOCKSException
s
- a Socket used to choose the SOCKS server typeprops
- non-nullSOCKSException