public interface Session
Modifier and Type | Method and Description |
---|---|
String |
readLine()
Reads a line from the session input,
blocking until a new line is available.
|
void |
restart()
Reopens the session to reinitialize the server state
|
void |
start()
Opens the session.
|
void |
stop()
Closes the session.
|
void |
writeLine(String line)
Writes a line to the session output.
|
String readLine() throws Exception
Exception
void writeLine(String line) throws Exception
line
- not nullException
void restart() throws Exception
Exception
Copyright © 2008-2017 The Apache Software Foundation. All Rights Reserved.