Class SshServerMock
java.lang.Object
fr.enedis.chutney.action.ssh.sshd.SshServerMock
-
Constructor Summary
ConstructorsConstructorDescriptionSshServerMock(org.apache.sshd.server.SshServer sshServer, List<String> stubs) -
Method Summary
-
Constructor Details
-
SshServerMock
-
-
Method Details
-
addCommand
-
commands
-
stubs
-
command
-
allStubsUsed
public boolean allStubsUsed() -
start
- Throws:
IOException
-
stop
- Throws:
IOException
-
host
-
port
public int port() -
isStarted
public boolean isStarted() -
isClosed
public boolean isClosed() -
isOpen
public boolean isOpen()
-