public interface CliSession
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
expect(Pattern p) |
NedExpectResult |
expect(Pattern[] p) |
NedExpectResult |
expect(Pattern[] p,
boolean Include,
int timeout) |
NedExpectResult |
expect(Pattern[] p,
boolean Include,
int timeout,
NedWorker worker) |
NedExpectResult |
expect(Pattern[] p,
NedWorker worker) |
String |
expect(Pattern p,
NedWorker worker) |
String |
expect(String Str) |
NedExpectResult |
expect(String[] Str) |
NedExpectResult |
expect(String[] Str,
boolean Include,
int timeout) |
NedExpectResult |
expect(String[] Str,
boolean Include,
int timeout,
NedWorker worker) |
NedExpectResult |
expect(String[] Str,
NedWorker worker) |
String |
expect(String Str,
boolean Include,
boolean Full,
int timeout) |
String |
expect(String Str,
boolean Include,
boolean Full,
int timeout,
NedWorker worker) |
String |
expect(String Str,
boolean Include,
int timeout) |
String |
expect(String Str,
int timeout) |
String |
expect(String Str,
int timeout,
NedWorker worker) |
String |
expect(String Str,
NedWorker worker) |
void |
flush() |
void |
print(String s) |
void |
println(String s) |
boolean |
serverSideClosed() |
void |
setTracer(NedTracer tracer) |
String expect(String Str, boolean Include, int timeout) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionString expect(String Str) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionString expect(Pattern p) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionString expect(String Str, NedWorker worker) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionString expect(Pattern p, NedWorker worker) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionString expect(String Str, int timeout) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionString expect(String Str, int timeout, NedWorker worker) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionNedExpectResult expect(String[] Str) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionNedExpectResult expect(Pattern[] p) throws SSHSessionException, IOException
SSHSessionExceptionIOExceptionNedExpectResult expect(String[] Str, boolean Include, int timeout) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionNedExpectResult expect(Pattern[] p, boolean Include, int timeout) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionString expect(String Str, boolean Include, boolean Full, int timeout) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionNedExpectResult expect(String[] Str, NedWorker worker) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionNedExpectResult expect(Pattern[] p, NedWorker worker) throws SSHSessionException, IOException
SSHSessionExceptionIOExceptionNedExpectResult expect(String[] Str, boolean Include, int timeout, NedWorker worker) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionNedExpectResult expect(Pattern[] p, boolean Include, int timeout, NedWorker worker) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionString expect(String Str, boolean Include, boolean Full, int timeout, NedWorker worker) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionvoid close()
void print(String s) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionvoid println(String s) throws IOException, SSHSessionException
IOExceptionSSHSessionExceptionvoid flush()
throws IOException
IOExceptionboolean serverSideClosed()
void setTracer(NedTracer tracer)