public class SocketProxy extends Object
Modifier and Type | Class and Description |
---|---|
class |
SocketProxy.Acceptor |
class |
SocketProxy.Bridge |
Modifier and Type | Field and Description |
---|---|
static int |
ACCEPT_TIMEOUT_MILLIS |
List<SocketProxy.Bridge> |
connections |
static int |
PUMP_SOCKET_TIMEOUT_MS |
Constructor and Description |
---|
SocketProxy() |
SocketProxy(boolean useSSL) |
SocketProxy(int port,
boolean useSSL) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getAcceptBacklog() |
int |
getListenPort() |
URI |
getUrl() |
void |
goOn() |
void |
halfClose() |
boolean |
isPauseAtStart() |
void |
open(URI uri) |
void |
pause() |
void |
reopen() |
void |
setAcceptBacklog(int acceptBacklog) |
void |
setPauseAtStart(boolean pauseAtStart) |
void |
setReceiveBufferSize(int receiveBufferSize) |
void |
setTarget(URI tcpBrokerUri) |
String |
toString() |
boolean |
waitUntilClosed(long timeoutSeconds) |
public static final int ACCEPT_TIMEOUT_MILLIS
public static final int PUMP_SOCKET_TIMEOUT_MS
public List<SocketProxy.Bridge> connections
public void setReceiveBufferSize(int receiveBufferSize)
public void setTarget(URI tcpBrokerUri)
public int getListenPort()
public URI getUrl()
public void close()
public void halfClose()
public boolean waitUntilClosed(long timeoutSeconds) throws InterruptedException
InterruptedException
public void reopen()
public void pause()
public void goOn()
public boolean isPauseAtStart()
public void setPauseAtStart(boolean pauseAtStart)
public int getAcceptBacklog()
public void setAcceptBacklog(int acceptBacklog)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.