|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.i2ptunnel.socks.SOCKSServer
net.i2p.i2ptunnel.socks.SOCKS4aServer
public class SOCKS4aServer
Field Summary |
---|
Fields inherited from class net.i2p.i2ptunnel.socks.SOCKSServer |
---|
addressType, connHostName, connPort |
Constructor Summary | |
---|---|
SOCKS4aServer(Socket clientSock)
Create a SOCKS4a server that communicates with the client using the specified socket. |
Method Summary | |
---|---|
protected void |
confirmConnection()
Confirm to the client that the connection has succeeded |
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). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOCKS4aServer(Socket clientSock)
clientSock
- client socketMethod Detail |
---|
public Socket getClientSocket() throws SOCKSException
SOCKSServer
getClientSocket
in class SOCKSServer
SOCKSException
protected void setupServer() throws SOCKSException
SOCKSServer
setupServer
in class SOCKSServer
SOCKSException
protected void confirmConnection() throws SOCKSException
SOCKSServer
confirmConnection
in class SOCKSServer
SOCKSException
public I2PSocket getDestinationI2PSocket(I2PSOCKSTunnel t) throws SOCKSException
getDestinationI2PSocket
in class SOCKSServer
SOCKSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |