public abstract class Cmd extends Object
JDocker Framework. WebSite: https://github.com/helyho/JDocker Licence: Apache v2 License
| 构造器和说明 |
|---|
Cmd() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addParameter(String name,
Object value) |
void |
close() |
void |
connect() |
void |
connect1(int timeOut) |
void |
connect2(String host,
int port) |
void |
connect3(String host,
int port,
int timeOut) |
void |
connect4(String host,
int port,
int timeOut,
boolean debug) |
protected DockerHttpClient |
getDockerHttpClient() |
protected Map<String,Object> |
getParameters() |
String |
loadStream() |
abstract <T> T |
send() |
int |
sendData(String data) |
public void connect4(String host, int port, int timeOut, boolean debug)
public void connect3(String host, int port, int timeOut)
public void connect2(String host, int port)
public void connect1(int timeOut)
public void connect()
protected DockerHttpClient getDockerHttpClient() throws DockerClientException
public void close()
public String loadStream() throws IOException, DockerClientException
public int sendData(String data) throws IOException
IOExceptionCopyright © 2017 Voovan. All rights reserved.