Class ContentIOControlHandler

  • All Implemented Interfaces:
    IOControlHandler

    public class ContentIOControlHandler
    extends Object
    implements IOControlHandler
    Content Disk Driver I/O Control Handler Class

    Provides the custom I/O control code handling used by the CIFS client interface application.

    Author:
    gkspencer
    • Constructor Detail

      • ContentIOControlHandler

        public ContentIOControlHandler()
        Default constructor
    • Method Detail

      • init

        public void init()
      • setNodeService

        public final void setNodeService​(org.alfresco.service.cmr.repository.NodeService nodeService)
      • getNodeService

        public final org.alfresco.service.cmr.repository.NodeService getNodeService()
        Return the node service
        Returns:
        NodeService
      • processIOControl

        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
        Process a filesystem I/O control request
        Specified by:
        processIOControl in interface IOControlHandler
        Parameters:
        sess - Server session
        tree - Tree connection.
        ctrlCode - I/O control code
        fid - File id
        dataBuf - I/O control specific input data
        isFSCtrl - true if this is a filesystem control, or false for a device control
        filter - if bit0 is set indicates that the control applies to the share root handle
        contentDriver - Object
        contentContext - ContentContext
        Returns:
        DataBuffer or null if there is no response buffer.
        Throws:
        org.alfresco.jlan.server.filesys.IOControlNotImplementedException
        org.alfresco.jlan.smb.SMBException
      • setCifsHelper

        public void setCifsHelper​(CifsHelper cifsHelper)
      • getCifsHelper

        public CifsHelper getCifsHelper()
      • setCheckOutCheckInService

        public void setCheckOutCheckInService​(CheckOutCheckInService checkOutCheckInService)
      • setTransactionService

        public void setTransactionService​(TransactionService transactionService)