public class ContentIOControlHandler extends java.lang.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
|
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,
java.lang.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)
Return the node service
|
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, java.lang.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 handleorg.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()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.