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 |
Constructor and Description |
---|
SocketProxy() |
SocketProxy(int port,
URI uri) |
SocketProxy(URI uri) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getAcceptBacklog() |
URI |
getUrl() |
void |
goOn() |
void |
halfClose() |
boolean |
isPauseAtStart() |
void |
open() |
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 List<SocketProxy.Bridge> connections
public void setReceiveBufferSize(int receiveBufferSize)
public void setTarget(URI tcpBrokerUri)
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-2015 Apache Software Foundation. All Rights Reserved.