public abstract class AlfrescoDiskDriver extends java.lang.Object implements org.alfresco.jlan.server.filesys.IOCtlInterface, ExtendedDiskInterface
Provides common code to the Alfresco filesystem implementations.
| Modifier and Type | Field and Description |
|---|---|
protected IOControlHandler |
ioControlHandler |
protected TransactionService |
m_transactionService |
| Constructor and Description |
|---|
AlfrescoDiskDriver() |
| Modifier and Type | Method and Description |
|---|---|
IOControlHandler |
getIoControlHandler() |
ServiceRegistry |
getServiceRegistry()
Return the service registry
|
TransactionService |
getTransactionService()
Return the transaction service
|
org.alfresco.jlan.util.DataBuffer |
processIOControl(org.alfresco.jlan.server.SrvSession sess,
org.alfresco.jlan.server.filesys.TreeConnection tree,
int ctrlCode,
int fid,
org.alfresco.jlan.util.DataBuffer dataBuf,
boolean isFSCtrl,
int filter)
Process a filesystem I/O control request
|
void |
registerContext(org.alfresco.jlan.server.core.DeviceContext ctx)
Registers a device context object for this instance
of the shared device.
|
void |
setIoControlHandler(IOControlHandler ioControlHandler) |
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
Set the service registry
|
void |
setTransactionService(TransactionService transactionService) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseFile, createDirectory, createFile, deleteDirectory, deleteFile, fileExists, flushFile, getFileInformation, isReadOnly, openFile, readFile, renameFile, seekFile, setFileInformation, startSearch, truncateFile, writeFileprotected TransactionService m_transactionService
protected IOControlHandler ioControlHandler
public void setIoControlHandler(IOControlHandler ioControlHandler)
public IOControlHandler getIoControlHandler()
public final ServiceRegistry getServiceRegistry()
public final TransactionService getTransactionService()
public void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry - public void setTransactionService(TransactionService transactionService)
transactionService - the transaction servicepublic org.alfresco.jlan.util.DataBuffer processIOControl(org.alfresco.jlan.server.SrvSession sess,
org.alfresco.jlan.server.filesys.TreeConnection tree,
int ctrlCode,
int fid,
org.alfresco.jlan.util.DataBuffer dataBuf,
boolean isFSCtrl,
int filter)
throws org.alfresco.jlan.server.filesys.IOControlNotImplementedException,
org.alfresco.jlan.smb.SMBException
processIOControl in interface org.alfresco.jlan.server.filesys.IOCtlInterfacesess - Server sessiontree - Tree connection.ctrlCode - I/O control codefid - File iddataBuf - I/O control specific input dataisFSCtrl - true if this is a filesystem control, or false for a device controlfilter - if bit0 is set indicates that the control applies to the share root handleorg.alfresco.jlan.server.filesys.IOControlNotImplementedExceptionorg.alfresco.jlan.smb.SMBExceptionpublic void registerContext(org.alfresco.jlan.server.core.DeviceContext ctx)
throws org.alfresco.jlan.server.core.DeviceContextException
registerContext in interface ExtendedDiskInterfacectx - the contextserverConfig - ServerConfigurationBeanorg.alfresco.jlan.server.core.DeviceContextExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.