MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / startServer

Method startServer

src/main/java/core/packetproxy/OpenVPN.java:78–88  ·  view source on GitHub ↗
(String ip, String proto)

Source from the content-addressed store, hash-verified

76 }
77
78 public void startServer(String ip, String proto) {
79 DockerClient client = getClient();
80 if (!getImage(client)) {
81
82 // TODO: disable checkbox
83 return;
84 }
85 createContainer(client, ip, proto);
86 startContainer(client, proto);
87 patchContainer(client, ip, proto);
88 }
89
90 public void stopServer() {
91 DockerClient client = getClient();

Callers

nothing calls this directly

Calls 5

getClientMethod · 0.95
getImageMethod · 0.95
createContainerMethod · 0.95
startContainerMethod · 0.95
patchContainerMethod · 0.95

Tested by

no test coverage detected