public class ThreadedCifsConnectionsHandler extends Object implements CifsConnectionsHandler
Create a seperate thread for each enabled CIFS session handler.
Modifier and Type | Field and Description |
---|---|
static long |
LANAPollingInterval |
Constructor and Description |
---|
ThreadedCifsConnectionsHandler()
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 |
startHandler()
Start the connection handler thread
|
void |
stopHandler()
Stop the connections handler
|
public static final long LANAPollingInterval
public ThreadedCifsConnectionsHandler()
public final boolean hasDebug()
public void initializeHandler(SMBServer srv, CIFSConfigSection config) throws InvalidConfigurationException
initializeHandler
in interface CifsConnectionsHandler
srv
- SMBServerconfig
- CIFSConfigSectionInvalidConfigurationException
public int numberOfSessionHandlers()
numberOfSessionHandlers
in interface CifsConnectionsHandler
public void startHandler()
startHandler
in interface CifsConnectionsHandler
public void stopHandler()
stopHandler
in interface CifsConnectionsHandler
Copyright © 2005–2018 Alfresco Software. All rights reserved.