public class FrameworkConsoleSession extends ConsoleSession
| Constructor and Description |
|---|
FrameworkConsoleSession(InputStream in,
OutputStream out,
Socket s) |
| Modifier and Type | Method and Description |
|---|---|
void |
doClose()
Called by the
ConsoleSession.close() method to free resources associated
with this console session. |
InputStream |
getInput()
Returns the input for this console session.
|
OutputStream |
getOutput()
Returns the output for this console session.
|
close, getService, ungetServicepublic FrameworkConsoleSession(InputStream in, OutputStream out, Socket s)
public InputStream getInput()
ConsoleSessiongetInput in class ConsoleSessionpublic OutputStream getOutput()
ConsoleSessiongetOutput in class ConsoleSessionpublic void doClose()
ConsoleSessionConsoleSession.close() method to free resources associated
with this console session. For example, closing the streams
associated with the input and output for this session.doClose in class ConsoleSessionCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.