|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Session
A connection to the host.
Method Summary | |
---|---|
java.lang.String |
readLine()
Reads a line from the session input, blocking until a new line is available. |
void |
start()
Opens the session. |
void |
stop()
Closes the session. |
void |
writeLine(java.lang.String line)
Writes a line to the session output. |
Method Detail |
---|
java.lang.String readLine() throws java.lang.Exception
java.lang.Exception
void writeLine(java.lang.String line) throws java.lang.Exception
line
- not null
java.lang.Exception
void start() throws java.lang.Exception
java.lang.Exception
void stop() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |