public interface IHTTPProxyConnection extends IClientConnection
Modifier and Type | Method and Description |
---|---|
int |
getListenPort()
Gets the TCP port number on which this proxy connection is listening.
|
ISecretManager |
getSecretManager()
Gets the secret manager for this proxy connection.
|
void |
init(IClientStateManager clientStateManager,
Socket clientSock,
long keepAlive,
int initServerGroupIdx)
Initializes this proxy connection.
|
allowTunnel, close, getClientSocket, getCurrentServerGroupIndex, isHandlingRequest, rejectTunnel, resetConnection, run, sendResponse, sendResponse, sendResponse
ISecretManager getSecretManager()
int getListenPort()
void init(IClientStateManager clientStateManager, Socket clientSock, long keepAlive, int initServerGroupIdx) throws IOException
clientStateManager
- client state managerclientSock
- TCP socket for client connectionkeepAlive
- number of milliseconds until the timeout of each network I/O
operationinitServerGroupIdx
- index of initial server groupIOException