|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.i2ptunnel.socks.SOCKSServer
public abstract class SOCKSServer
Abstract base class used by all SOCKS servers.
Field Summary | |
---|---|
protected java.lang.String |
connHostName
|
protected int |
connPort
|
(package private) I2PSocket |
destSocket
|
(package private) java.lang.Object |
FIXME
|
Constructor Summary | |
---|---|
SOCKSServer()
|
Method Summary | |
---|---|
protected abstract void |
confirmConnection()
Confirm to the client that the connection has succeeded |
abstract java.net.Socket |
getClientSocket()
Get a socket that can be used to send/receive 8-bit clean data to/from the client. |
I2PSocket |
getDestinationI2PSocket()
Get an I2PSocket that can be used to send/receive 8-bit clean data to/from the destination of the SOCKS connection. |
protected abstract 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 |
Field Detail |
---|
protected java.lang.String connHostName
protected int connPort
I2PSocket destSocket
java.lang.Object FIXME
Constructor Detail |
---|
public SOCKSServer()
Method Detail |
---|
protected abstract void setupServer() throws SOCKSException
SOCKSException
public abstract java.net.Socket getClientSocket() throws SOCKSException
SOCKSException
protected abstract void confirmConnection() throws SOCKSException
SOCKSException
public I2PSocket getDestinationI2PSocket() throws SOCKSException
SOCKSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |