jhomenet.server.console
Class LocalConsoleService
java.lang.Object
AbstractExecutableThreadService
jhomenet.server.console.ConsoleService
jhomenet.server.console.LocalConsoleService
public class LocalConsoleService
- extends ConsoleService
The local jHomenet console service.
Id: $Id: $
- Author:
- Dave Irwin (jhomenet at gmail dot com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LocalConsoleService
public LocalConsoleService(java.lang.Boolean displayConsole,
AuthManager authManager,
PluginContext pluginContext,
ServerContext serverContext)
- Default constructor.
- Parameters:
loginService
- pluginContext
- serverContext
-
acceptNewSession
protected Session acceptNewSession(IWorkQueue workQueue)
throws java.lang.InterruptedException
- Description copied from class:
ConsoleService
- Waits for a connection request. This method should block until a request
is received. When a request is made, it should create, initialize, and
return a new Session to handle that connection.
- Specified by:
acceptNewSession
in class ConsoleService
- Returns:
- a new Session
- Throws:
java.lang.InterruptedException
- See Also:
jhomenet.server.console.ConsoleService#acceptNewSession()
sessionEndedInternal
protected void sessionEndedInternal(Session session)
- Description copied from class:
ConsoleService
- Notify the implementing service class that a session has ended.
- Specified by:
sessionEndedInternal
in class ConsoleService
- Parameters:
session
- The session that has ended- See Also:
ConsoleService.sessionEndedInternal(jhomenet.server.console.Session)
Copyright © 2004-2007 David Irwin. All Rights Reserved.