Class SocatHandler
- java.lang.Object
-
- com.github.mwiede.dockerjava.jsch.SocatHandler
-
public class SocatHandler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intINTERNAL_SOCAT_PORT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.github.dockerjava.api.model.ContainerstartSocat(com.jcraft.jsch.Session session, String socatFlags, String dockerSocketPath)static voidstopSocat(com.jcraft.jsch.Session session, String containerId)
-
-
-
Field Detail
-
INTERNAL_SOCAT_PORT
public static final int INTERNAL_SOCAT_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
startSocat
public static com.github.dockerjava.api.model.Container startSocat(com.jcraft.jsch.Session session, String socatFlags, String dockerSocketPath) throws com.jcraft.jsch.JSchException, IOException- Throws:
com.jcraft.jsch.JSchExceptionIOException
-
stopSocat
public static void stopSocat(com.jcraft.jsch.Session session, String containerId) throws com.jcraft.jsch.JSchException, IOException- Throws:
com.jcraft.jsch.JSchExceptionIOException
-
-