org.eclipse.osgi.framework.internal.core
Class FrameworkConsoleSession
java.lang.Object
org.eclipse.osgi.framework.console.ConsoleSession
org.eclipse.osgi.framework.internal.core.FrameworkConsoleSession
- All Implemented Interfaces:
- ServiceFactory<Object>
public class FrameworkConsoleSession
- extends ConsoleSession
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FrameworkConsoleSession
public FrameworkConsoleSession(InputStream in,
OutputStream out,
Socket s)
getInput
public InputStream getInput()
- Description copied from class:
ConsoleSession
- Returns the input for this console session. This input will be used
to read console commands from the user of the session.
- Specified by:
getInput in class ConsoleSession
- Returns:
- the input for this console session
getOutput
public OutputStream getOutput()
- Description copied from class:
ConsoleSession
- Returns the output for this console session. This output will be
used to write the results of console commands.
- Specified by:
getOutput in class ConsoleSession
- Returns:
- the output for this console session.
doClose
public void doClose()
- Description copied from class:
ConsoleSession
- Called by the
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.
- Specified by:
doClose in class ConsoleSession
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.