Interface InteractiveSession
- All Known Implementing Classes:
SSHSession
,TelnetSession
public interface InteractiveSession
The Interface InteractiveSession.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Disconnect.boolean
getDebug()
Gets the debug.boolean
Checks if is connected.void
Sends 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
-