|
||||||||||
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.SOCKS5Server
public class SOCKS5Server
Field Summary |
---|
Fields inherited from class net.i2p.i2ptunnel.socks.SOCKSServer |
---|
connHostName, connPort, destSocket, FIXME |
Constructor Summary | |
---|---|
SOCKS5Server(java.net.Socket clientSock)
Create a SOCKS5 server that communicates with the client using the specified socket. |
Method Summary | |
---|---|
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. |
protected void |
setupServer()
Perform server initialization (expecially regarding protected variables). |
Methods inherited from class net.i2p.i2ptunnel.socks.SOCKSServer |
---|
getDestinationI2PSocket |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOCKS5Server(java.net.Socket clientSock)
clientSock
- client socketMethod Detail |
---|
public java.net.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |