public class AsyncWinsockCifsConnectionsHandler extends java.lang.Object implements CifsConnectionsHandler, RequestHandlerListener, java.lang.Runnable
Initializes the configured CIFS session handlers and listens for incoming requests using a single thread.
| Modifier and Type | Class and Description |
|---|---|
protected class |
AsyncWinsockCifsConnectionsHandler.IdleSessionReaper
Idle Session Reaper Thread Class
|
| Modifier and Type | Field and Description |
|---|---|
static int |
SessionSocketsPerHandler |
| Constructor and Description |
|---|
AsyncWinsockCifsConnectionsHandler()
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasDebug()
Check if debug output is enabled
|
void |
initializeHandler(SMBServer srv,
CIFSConfigSection config)
Initialize the connections handler
|
int |
numberOfSessionHandlers()
Return the count of active session handlers
|
void |
requestHandlerEmpty(RequestHandler reqHandler)
Request handler has no sessions to listen for events for
|
void |
run()
Run the connections handler in a seperate thread
|
void |
setDebug(boolean ena)
Enable/disable debug output
|
void |
startHandler()
Start the connection handler thread
|
void |
stopHandler()
Stop the connections handler
|
public static final int SessionSocketsPerHandler
public AsyncWinsockCifsConnectionsHandler()
public final boolean hasDebug()
public int numberOfSessionHandlers()
numberOfSessionHandlers in interface CifsConnectionsHandlerpublic final void initializeHandler(SMBServer srv, CIFSConfigSection config) throws InvalidConfigurationException
initializeHandler in interface CifsConnectionsHandlersrv - SMBServerconfig - CIFSConfigSectionInvalidConfigurationExceptionpublic final void startHandler()
startHandler in interface CifsConnectionsHandlerpublic final void stopHandler()
stopHandler in interface CifsConnectionsHandlerpublic void run()
run in interface java.lang.Runnablepublic final void setDebug(boolean ena)
ena - booleanpublic void requestHandlerEmpty(RequestHandler reqHandler)
requestHandlerEmpty in interface RequestHandlerListenerreqHandler - RequestHandlerCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.