Modifier and Type | Method and Description |
---|---|
protected TreeConnection |
FTPSrvSession.getTreeConnection(SharedDevice share)
Get a tree connection for the specified shared device.
|
Modifier and Type | Method and Description |
---|---|
TreeConnection |
NFSSrvSession.findConnection(int shareHash)
Find the tree connection for the specified share hash
|
TreeConnection |
NetworkFileCache.FileEntry.getConnection()
Return the disk share connection
|
protected TreeConnection |
NFSServer.getTreeConnection(NFSSrvSession sess,
int shareId)
Return the tree connection for the specified share index
|
Modifier and Type | Method and Description |
---|---|
void |
NFSSrvSession.addConnection(TreeConnection tree)
Add a new connection to the list of active tree connections for this session
|
void |
NetworkFileCache.addFile(NetworkFile file,
TreeConnection conn,
NFSSrvSession sess)
Add a file to the cache
|
protected byte[] |
NFSServer.getHandleForFile(NFSSrvSession sess,
byte[] handle,
TreeConnection tree,
String fname)
Get the handle for the specified directory handle and file name
|
protected NetworkFile |
NFSServer.getNetworkFileForHandle(NFSSrvSession sess,
byte[] handle,
TreeConnection conn,
boolean readOnly)
Find, or open, the required network file using the file handle
|
protected NetworkFile |
NFSServer.getOpenNetworkFileForHandle(NFSSrvSession sess,
byte[] handle,
TreeConnection conn)
Find the required network file using the file handle, or return null if the file has not been opened
|
protected String |
NFSServer.getPathForHandle(NFSSrvSession sess,
byte[] handle,
TreeConnection tree)
Get the path for the specified handle
|
protected void |
NFSServer.packPostOpAttr(NFSSrvSession sess,
TreeConnection conn,
byte[] fhandle,
RpcPacket rpc)
Pack the post operation weak cache consistency data for the specified
file/directory
|
protected void |
NFSServer.packPreOpAttr(NFSSrvSession sess,
TreeConnection conn,
byte[] fhandle,
RpcPacket rpc)
Pack the pre operation weak cache consistency data for the specified
file/directory
|
void |
NFSSrvSession.removeConnection(TreeConnection tree)
Remove a connection from the list of active tree connections for this session
|
Constructor and Description |
---|
NetworkFileCache.FileEntry(NetworkFile file,
TreeConnection conn,
NFSSrvSession sess)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
DeviceInterface.treeClosed(SrvSession sess,
TreeConnection tree)
Connection closed to this device
|
void |
DeviceInterface.treeOpened(SrvSession sess,
TreeConnection tree)
Connection opened to this disk device
|
Modifier and Type | Method and Description |
---|---|
TreeConnection |
TreeConnectionHash.deleteConnection(String shareName)
Delete a connection from the list
|
TreeConnection |
TreeConnectionHash.findConnection(int hashCode)
Find a connection for the specified share name hash code
|
TreeConnection |
TreeConnectionHash.findConnection(String shareName)
Find a connection for the specified share name
|
Modifier and Type | Method and Description |
---|---|
Enumeration<TreeConnection> |
TreeConnectionHash.enumerateConnections()
Enumerate the connections
|
Modifier and Type | Method and Description |
---|---|
void |
TreeConnectionHash.addConnection(TreeConnection tree)
Add a connection to the list of available connections
|
String |
FileIdInterface.buildPathForFileId(SrvSession sess,
TreeConnection tree,
int dirid,
int fileid)
Convert a file id to a share relative path
|
void |
DiskInterface.closeFile(SrvSession sess,
TreeConnection tree,
NetworkFile param)
Close the file.
|
void |
DiskInterface.createDirectory(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Create a new directory on this file system.
|
NetworkFile |
DiskInterface.createFile(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Create a new file on the file system.
|
void |
DiskInterface.deleteDirectory(SrvSession sess,
TreeConnection tree,
String dir)
Delete the directory from the filesystem.
|
void |
DiskInterface.deleteFile(SrvSession sess,
TreeConnection tree,
String name)
Delete the specified file.
|
int |
DiskInterface.fileExists(SrvSession sess,
TreeConnection tree,
String name)
Check if the specified file exists, and whether it is a file or directory.
|
void |
DiskInterface.flushFile(SrvSession sess,
TreeConnection tree,
NetworkFile file)
Flush any buffered output for the specified file.
|
FileInfo |
DiskInterface.getFileInformation(SrvSession sess,
TreeConnection tree,
String name)
Get the file information for the specified file.
|
int |
SecurityDescriptorInterface.getSecurityDescriptorLength(SrvSession sess,
TreeConnection tree,
NetworkFile netFile)
Return the security descriptor length for the specified file
|
boolean |
SymbolicLinkInterface.hasSymbolicLinksEnabled(SrvSession sess,
TreeConnection tree)
Determine if symbolic links are enabled
|
SecurityDescriptor |
SecurityDescriptorInterface.loadSecurityDescriptor(SrvSession sess,
TreeConnection tree,
NetworkFile netFile)
Load a security descriptor for the specified file
|
NetworkFile |
DiskInterface.openFile(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Open a file on the file system.
|
DataBuffer |
IOCtlInterface.processIOControl(SrvSession sess,
TreeConnection tree,
int ctrlCode,
int fid,
DataBuffer dataBuf,
boolean isFSCtrl,
int filter)
Process a filesystem I/O control request
|
int |
DiskInterface.readFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
byte[] buf,
int bufPos,
int siz,
long filePos)
Read a block of data from the specified file.
|
String |
SymbolicLinkInterface.readSymbolicLink(SrvSession sess,
TreeConnection tree,
String path)
Read the link data for a symbolic link
|
void |
DiskInterface.renameFile(SrvSession sess,
TreeConnection tree,
String oldName,
String newName)
Rename the specified file.
|
void |
SecurityDescriptorInterface.saveSecurityDescriptor(SrvSession sess,
TreeConnection tree,
NetworkFile netFile,
SecurityDescriptor secDesc)
Save the security descriptor for the specified file
|
long |
DiskInterface.seekFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long pos,
int typ)
Seek to the specified file position.
|
void |
DiskInterface.setFileInformation(SrvSession sess,
TreeConnection tree,
String name,
FileInfo info)
Set the file information for the specified file.
|
void |
ShareListener.shareConnect(SrvSession sess,
TreeConnection tree)
Called when a session connects to a share
|
void |
ShareListener.shareDisconnect(SrvSession sess,
TreeConnection tree)
Called when a session disconnects from a share
|
SearchContext |
DiskInterface.startSearch(SrvSession sess,
TreeConnection tree,
String searchPath,
int attrib)
Start a new search on the filesystem using the specified searchPath that may contain
wildcards.
|
void |
DiskInterface.truncateFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long siz)
Truncate a file to the specified size
|
int |
DiskInterface.writeFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
byte[] buf,
int bufoff,
int siz,
long fileoff)
Write a block of data to the file.
|
Modifier and Type | Method and Description |
---|---|
FileLock |
FileStateLockManager.createLockObject(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long offset,
long len,
int pid)
Create a file lock object.
|
void |
FileStateLockManager.lockFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
FileLock lock)
Lock a byte range within a file, or the whole file.
|
void |
FileStateLockManager.releaseLocksForFile(SrvSession sess,
TreeConnection tree,
NetworkFile file)
Release all locks that a session has on a file.
|
void |
FileStateLockManager.unlockFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
FileLock lock)
Unlock a byte range within a file, or the whole file
|
Modifier and Type | Method and Description |
---|---|
long |
DBQuotaManager.allocateSpace(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long alloc)
Allocate space from the filesystem free space.
|
String |
DBDiskDriver.buildPathForFileId(SrvSession sess,
TreeConnection tree,
int dirid,
int fileid)
Convert a file id to a share relative path
|
void |
DBDiskDriver.closeFile(SrvSession sess,
TreeConnection tree,
NetworkFile file)
Close the specified file
|
protected void |
DBDiskDriver.closeStream(SrvSession sess,
TreeConnection tree,
NetworkFile stream)
Close an NTFS stream
|
void |
DBDiskDriver.createDirectory(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Create a new directory
|
NetworkFile |
DBDiskDriver.createFile(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Create a new file entry
|
protected NetworkFile |
DBDiskDriver.createStream(SrvSession sess,
TreeConnection tree,
FileOpenParams params,
FileState parent,
DBDeviceContext dbCtx)
Create a new stream with the specified parent file
|
void |
DBDiskDriver.deleteDirectory(SrvSession sess,
TreeConnection tree,
String dir)
Delete a directory
|
void |
DBDiskDriver.deleteFile(SrvSession sess,
TreeConnection tree,
String name)
Delete a file
|
protected void |
DBDiskDriver.deleteStream(SrvSession sess,
TreeConnection tree,
String name)
Delete a stream within a file
|
int |
DBDiskDriver.fileExists(SrvSession sess,
TreeConnection tree,
String name)
Check if the specified file exists, and it is a file.
|
void |
DBDiskDriver.flushFile(SrvSession sess,
TreeConnection tree,
NetworkFile file)
Flush buffered data for the specified file
|
FileInfo |
DBDiskDriver.getFileInformation(SrvSession sess,
TreeConnection tree,
String name)
Return file information about the specified file
|
LockManager |
DBDiskDriver.getLockManager(SrvSession sess,
TreeConnection tree)
Return the lock manager implementation
|
OpLockManager |
DBDiskDriver.getOpLockManager(SrvSession sess,
TreeConnection tree)
Return the oplock manager implementation
|
int |
DBDiskDriver.getSecurityDescriptorLength(SrvSession sess,
TreeConnection tree,
NetworkFile netFile)
Return the security descriptor length for the specified file
|
StreamInfo |
DBDiskDriver.getStreamInformation(SrvSession sess,
TreeConnection tree,
StreamInfo streamInfo)
Get the stream information for the specified file stream
|
StreamInfoList |
DBDiskDriver.getStreamList(SrvSession sess,
TreeConnection tree,
String fileName)
Return the list of available streams for the specified file
|
long |
DBQuotaManager.getUserFreeSpace(SrvSession sess,
TreeConnection tree)
Return the free space available to the specified user/session
|
long |
DBQuotaManager.getUserTotalSpace(SrvSession sess,
TreeConnection tree)
Return total space available to the specified user/session
|
boolean |
DBDiskDriver.hasStreamsEnabled(SrvSession sess,
TreeConnection tree)
Determine if NTFS streams support is enabled.
|
boolean |
DBDiskDriver.hasSymbolicLinksEnabled(SrvSession sess,
TreeConnection tree)
Determine if symbolic links are enabled
|
boolean |
DBDiskDriver.isOpLocksEnabled(SrvSession sess,
TreeConnection tree)
Enable/disable oplock support
|
SecurityDescriptor |
DBDiskDriver.loadSecurityDescriptor(SrvSession sess,
TreeConnection tree,
NetworkFile netFile)
Load a security descriptor for the specified file
|
NetworkFile |
DBDiskDriver.openFile(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Open a file
|
protected NetworkFile |
DBDiskDriver.openStream(SrvSession sess,
TreeConnection tree,
FileOpenParams params,
FileState parent,
DBDeviceContext dbCtx)
Open an existing stream with the specified parent file
|
int |
DBDiskDriver.readFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
byte[] buf,
int bufPos,
int siz,
long pos)
Read a block of data from a file
|
String |
DBDiskDriver.readSymbolicLink(SrvSession sess,
TreeConnection tree,
String path)
Read the link data for a symbolic link
|
void |
DBQuotaManager.releaseSpace(SrvSession sess,
TreeConnection tree,
int fid,
String path,
long alloc)
Release space back to the filesystem.
|
void |
DBDiskDriver.renameFile(SrvSession sess,
TreeConnection tree,
String oldName,
String newName)
Rename a file
|
void |
DBDiskDriver.renameStream(SrvSession sess,
TreeConnection tree,
String oldName,
String newName,
boolean overWrite)
Rename a stream
|
void |
DBDiskDriver.saveSecurityDescriptor(SrvSession sess,
TreeConnection tree,
NetworkFile netFile,
SecurityDescriptor secDesc)
Save the security descriptor for the specified file
|
long |
DBDiskDriver.seekFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long pos,
int typ)
Seek to the specified point within a file
|
void |
DBDiskDriver.setFileInformation(SrvSession sess,
TreeConnection tree,
String name,
FileInfo info)
Set file information
|
SearchContext |
DBDiskDriver.startSearch(SrvSession sess,
TreeConnection tree,
String searchPath,
int attrib)
Start a search of the file system
|
void |
DBDiskDriver.treeClosed(SrvSession sess,
TreeConnection tree)
Connection closed to this device
|
void |
DBDiskDriver.treeOpened(SrvSession sess,
TreeConnection tree)
Connection opened to this disk device
|
void |
DBDiskDriver.truncateFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long siz)
Truncate a file to the specified size
|
int |
DBDiskDriver.writeFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
byte[] buf,
int bufoff,
int siz,
long fileoff)
Write a block of data to a file
|
Modifier and Type | Method and Description |
---|---|
TreeConnection |
WriteRequest.getConnection()
Return the tree connection
|
Constructor and Description |
---|
WriteRequest(NetworkFile file,
TreeConnection tree,
DiskInterface disk,
int writeLen,
long writeOff,
byte[] data,
int dataOff)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
PseudoFileInterface.addPseudoFilesToFolder(SrvSession sess,
TreeConnection tree,
String path)
Add pseudo files to a folder so that they appear in a folder search
|
void |
PseudoFileInterface.deletePseudoFile(SrvSession sess,
TreeConnection tree,
String path)
Delete a pseudo file
|
PseudoFile |
PseudoFileInterface.getPseudoFile(SrvSession sess,
TreeConnection tree,
String path)
Return the pseudo file for the specified path, or null if the path is not a pseudo file
|
boolean |
PseudoFileInterface.isPseudoFile(SrvSession sess,
TreeConnection tree,
String path)
Check if the specified path refers to a pseudo file
|
Modifier and Type | Method and Description |
---|---|
long |
QuotaManager.allocateSpace(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long alloc)
Allocate space on the filesystem.
|
long |
QuotaManager.getUserFreeSpace(SrvSession sess,
TreeConnection tree)
Return the free space available to the specified user/session
|
long |
QuotaManager.getUserTotalSpace(SrvSession sess,
TreeConnection tree)
Return total space available to the specified user/session
|
void |
QuotaManager.releaseSpace(SrvSession sess,
TreeConnection tree,
int fid,
String path,
long alloc)
Release space to the free space for the filesystem.
|
Modifier and Type | Method and Description |
---|---|
FileLock |
LockManager.createLockObject(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long offset,
long len,
int pid)
Create a lock object, allows the FileLock object to be extended
|
LockManager |
FileLockingInterface.getLockManager(SrvSession sess,
TreeConnection tree)
Return the lock manager implementation associated with this virtual filesystem
|
OpLockManager |
OpLockInterface.getOpLockManager(SrvSession sess,
TreeConnection tree)
Return the oplock manager implementation associated with this virtual filesystem
|
boolean |
OpLockInterface.isOpLocksEnabled(SrvSession sess,
TreeConnection tree)
Enable/disable oplock support
|
void |
LockManager.lockFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
FileLock lock)
Lock a byte range within a file, or the whole file.
|
void |
LockManager.releaseLocksForFile(SrvSession sess,
TreeConnection tree,
NetworkFile file)
Release all locks that a session has on a file.
|
void |
LockManager.unlockFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
FileLock lock)
Unlock a byte range within a file, or the whole file
|
Modifier and Type | Method and Description |
---|---|
TreeConnection |
VirtualCircuit.findConnection(int treeId)
Return the tree connection details for the specified tree id.
|
TreeConnection |
SMBSrvSession.findTreeConnection(SMBSrvPacket smbPkt)
Find the tree connection for the request
|
Modifier and Type | Method and Description |
---|---|
void |
EnhJavaFileDiskDriver.closeFile(SrvSession sess,
TreeConnection tree,
NetworkFile file)
Close the specified file
|
void |
JavaFileDiskDriver.closeFile(SrvSession sess,
TreeConnection tree,
NetworkFile file)
Close the specified file
|
void |
EnhJavaFileDiskDriver.createDirectory(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Create a new directory
|
void |
JavaFileDiskDriver.createDirectory(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Create a new directory
|
NetworkFile |
EnhJavaFileDiskDriver.createFile(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Create a new file
|
NetworkFile |
JavaFileDiskDriver.createFile(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Create a new file
|
FileLock |
NIOLockManager.createLockObject(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long offset,
long len,
int pid)
Create a lock object, allows the FileLock object to be extended
|
void |
EnhJavaFileDiskDriver.deleteDirectory(SrvSession sess,
TreeConnection tree,
String dir)
Delete a directory
|
void |
JavaFileDiskDriver.deleteDirectory(SrvSession sess,
TreeConnection tree,
String dir)
Delete a directory
|
void |
EnhJavaFileDiskDriver.deleteFile(SrvSession sess,
TreeConnection tree,
String name)
Delete a file
|
void |
JavaFileDiskDriver.deleteFile(SrvSession sess,
TreeConnection tree,
String name)
Delete a file
|
int |
EnhJavaFileDiskDriver.fileExists(SrvSession sess,
TreeConnection tree,
String name)
Check if the specified file exists, and it is a file.
|
int |
JavaFileDiskDriver.fileExists(SrvSession sess,
TreeConnection tree,
String name)
Check if the specified file exists, and it is a file.
|
void |
EnhJavaFileDiskDriver.flushFile(SrvSession sess,
TreeConnection tree,
NetworkFile file)
Flush buffered data for the specified file
|
void |
JavaFileDiskDriver.flushFile(SrvSession sess,
TreeConnection tree,
NetworkFile file)
Flush buffered data for the specified file
|
FileInfo |
EnhJavaFileDiskDriver.getFileInformation(SrvSession sess,
TreeConnection tree,
String name)
Return file information about the specified file
|
FileInfo |
JavaFileDiskDriver.getFileInformation(SrvSession sess,
TreeConnection tree,
String name)
Return file information about the specified file
|
LockManager |
EnhJavaFileDiskDriver.getLockManager(SrvSession sess,
TreeConnection tree)
Return the lock manager implementation associated with this virtual filesystem
|
void |
NIOLockManager.lockFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
FileLock lock)
Lock a byte range within a file, or the whole file.
|
NetworkFile |
EnhJavaFileDiskDriver.openFile(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Open a file
|
NetworkFile |
JavaFileDiskDriver.openFile(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Open a file
|
int |
EnhJavaFileDiskDriver.readFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
byte[] buf,
int bufPos,
int siz,
long filePos)
Read a block of data from a file
|
int |
JavaFileDiskDriver.readFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
byte[] buf,
int bufPos,
int siz,
long filePos)
Read a block of data from a file
|
void |
NIOLockManager.releaseLocksForFile(SrvSession sess,
TreeConnection tree,
NetworkFile file)
Release all locks that a session has on a file.
|
void |
EnhJavaFileDiskDriver.renameFile(SrvSession sess,
TreeConnection tree,
String oldName,
String newName)
Rename a file
|
void |
JavaFileDiskDriver.renameFile(SrvSession sess,
TreeConnection tree,
String oldName,
String newName)
Rename a file
|
long |
EnhJavaFileDiskDriver.seekFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long pos,
int typ)
Seek to the specified point within a file
|
long |
JavaFileDiskDriver.seekFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long pos,
int typ)
Seek to the specified point within a file
|
void |
EnhJavaFileDiskDriver.setFileInformation(SrvSession sess,
TreeConnection tree,
String name,
FileInfo info)
Set file information
|
void |
JavaFileDiskDriver.setFileInformation(SrvSession sess,
TreeConnection tree,
String name,
FileInfo info)
Set file information
|
SearchContext |
EnhJavaFileDiskDriver.startSearch(SrvSession sess,
TreeConnection tree,
String searchPath,
int attrib)
Start a file search
|
SearchContext |
JavaFileDiskDriver.startSearch(SrvSession sess,
TreeConnection tree,
String searchPath,
int attrib)
Start a file search
|
void |
EnhJavaFileDiskDriver.treeClosed(SrvSession sess,
TreeConnection tree)
Connection closed to this device
|
void |
JavaFileDiskDriver.treeClosed(SrvSession sess,
TreeConnection tree)
Connection closed to this device
|
void |
EnhJavaFileDiskDriver.treeOpened(SrvSession sess,
TreeConnection tree)
Connection opened to this disk device
|
void |
JavaFileDiskDriver.treeOpened(SrvSession sess,
TreeConnection tree)
Connection opened to this disk device
|
void |
EnhJavaFileDiskDriver.truncateFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long siz)
Truncate a file to the specified size
|
void |
JavaFileDiskDriver.truncateFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long siz)
Truncate a file to the specified size
|
void |
NIOLockManager.unlockFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
FileLock lock)
Unlock a byte range within a file, or the whole file
|
int |
EnhJavaFileDiskDriver.writeFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
byte[] buf,
int bufoff,
int siz,
long fileoff)
Write a block of data to a file
|
int |
JavaFileDiskDriver.writeFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
byte[] buf,
int bufoff,
int siz,
long fileoff)
Write a block of data to a file
|
Modifier and Type | Method and Description |
---|---|
StreamInfo |
NTFSStreamsInterface.getStreamInformation(SrvSession sess,
TreeConnection tree,
StreamInfo streamInfo)
Return stream information for the specified stream
|
StreamInfoList |
NTFSStreamsInterface.getStreamList(SrvSession sess,
TreeConnection tree,
String fileName)
Return a list of the streams for the specified file
|
boolean |
NTFSStreamsInterface.hasStreamsEnabled(SrvSession sess,
TreeConnection tree)
Determine if NTFS streams are enabled
|
void |
NTFSStreamsInterface.renameStream(SrvSession sess,
TreeConnection tree,
String oldName,
String newName,
boolean overWrite)
Rename a stream
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.