public class ContentIOControlHandler extends Object implements IOControlHandler
Provides the custom I/O control code handling used by the CIFS client interface application.
Constructor and Description |
---|
ContentIOControlHandler()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
AuthenticationService |
getAuthenticationService() |
CheckOutCheckInService |
getCheckOutCheckInService() |
CifsHelper |
getCifsHelper() |
org.alfresco.service.cmr.repository.NodeService |
getNodeService()
Return the node service
|
TransactionService |
getTransactionService() |
void |
init() |
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,
Object contentDriver,
ContentContext contentContext)
Process a filesystem I/O control request
|
void |
setAuthenticationService(AuthenticationService authService) |
void |
setCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService) |
void |
setCifsHelper(CifsHelper cifsHelper) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setTransactionService(TransactionService transactionService) |
public void init()
public final void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public final org.alfresco.service.cmr.repository.NodeService getNodeService()
public 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, Object contentDriver, ContentContext contentContext) throws org.alfresco.jlan.server.filesys.IOControlNotImplementedException, org.alfresco.jlan.smb.SMBException
processIOControl
in interface IOControlHandler
sess
- 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 handlecontentDriver
- ObjectcontentContext
- ContentContextorg.alfresco.jlan.server.filesys.IOControlNotImplementedException
org.alfresco.jlan.smb.SMBException
public void setCifsHelper(CifsHelper cifsHelper)
public CifsHelper getCifsHelper()
public void setAuthenticationService(AuthenticationService authService)
public AuthenticationService getAuthenticationService()
public void setCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService)
public CheckOutCheckInService getCheckOutCheckInService()
public void setTransactionService(TransactionService transactionService)
public TransactionService getTransactionService()
Copyright © 2005–2017 Alfresco Software. All rights reserved.