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, ungetService
public FrameworkConsoleSession(InputStream in, OutputStream out, Socket s)
public InputStream getInput()
ConsoleSession
getInput
in class ConsoleSession
public OutputStream getOutput()
ConsoleSession
getOutput
in class ConsoleSession
public void doClose()
ConsoleSession
ConsoleSession.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 ConsoleSession
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.