class SOCKSServerFactory extends Object
| Constructor | Description |
|---|---|
SOCKSServerFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
static SOCKSServer |
createSOCKSServer(I2PAppContext ctx,
Socket s,
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, Socket s, Properties props) throws SOCKSException
s - a Socket used to choose the SOCKS server typeprops - non-nullSOCKSException