Interface InteractiveSession
- All Known Implementing Classes:
SSHSession,TelnetSession
public interface InteractiveSession
The Interface InteractiveSession.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDisconnect.booleangetDebug()Gets the debug.booleanChecks if is connected.voidSends the.Waitfor.
-
Method Details
-
send
Sends the.- Parameters:
cmd- the cmd- Throws:
IOException- Signals that an I/O exception has occurred.
-
waitfor
Waitfor.- Parameters:
searchElements- the search elements- Returns:
- the string
- Throws:
IOException- Signals that an I/O exception has occurred.
-
isConnected
boolean isConnected()Checks if is connected.- Returns:
- true, if is connected
-
disconnect
void disconnect()Disconnect. -
getDebug
boolean getDebug()Gets the debug.- Returns:
- the debug
-