Modifier and Type | Method and Description |
---|---|
NetworkFile |
NetworkFileCache.findFile(int id,
SrvSession sess)
Find a file via the file id
|
NetworkFile |
NetworkFileCache.FileEntry.getFile()
Return the network file
|
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
|
Modifier and Type | Method and Description |
---|---|
void |
NetworkFileCache.addFile(NetworkFile file,
TreeConnection conn,
NFSSrvSession sess)
Add a file to the cache
|
Constructor and Description |
---|
NetworkFileCache.FileEntry(NetworkFile file,
TreeConnection conn,
NFSSrvSession sess)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
NetworkFile |
DiskInterface.createFile(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Create a new file on the file system.
|
NetworkFile |
TreeConnection.findFile(int fid)
Return the specified network file.
|
NetworkFile |
FileInfo.getNetworkFile()
Return the associated network file
|
NetworkFile |
DiskInterface.openFile(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Open a file on the file system.
|
Modifier and Type | Method and Description |
---|---|
int |
TreeConnection.addFile(NetworkFile file,
SrvSession sess)
Add a network file to the list of open files for this connection.
|
void |
DiskInterface.closeFile(SrvSession sess,
TreeConnection tree,
NetworkFile param)
Close the file.
|
void |
FileListener.fileClosed(SrvSession sess,
NetworkFile file)
File has been closed.
|
void |
FileListener.fileOpened(SrvSession sess,
NetworkFile file)
File has been opened.
|
void |
NetworkFileServer.fireCloseFileEvent(SrvSession sess,
NetworkFile file)
Fire a file closed event to all registered file listeners.
|
void |
NetworkFileServer.fireOpenFileEvent(SrvSession sess,
NetworkFile file)
Trigger a file open event to all registered file listeners.
|
void |
DiskInterface.flushFile(SrvSession sess,
TreeConnection tree,
NetworkFile file)
Flush any buffered output for the specified file.
|
int |
SecurityDescriptorInterface.getSecurityDescriptorLength(SrvSession sess,
TreeConnection tree,
NetworkFile netFile)
Return the security descriptor length for the specified file
|
SecurityDescriptor |
SecurityDescriptorInterface.loadSecurityDescriptor(SrvSession sess,
TreeConnection tree,
NetworkFile netFile)
Load a security descriptor for the specified file
|
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.
|
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 |
FileInfo.setNetworkFile(NetworkFile netFile)
Set the associated network file
|
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 |
---|---|
boolean |
FileStateCache.addOpLock(FileState fstate,
OpLockDetails oplock,
NetworkFile netFile)
Add an oplock
|
FileLock |
FileStateCache.createFileLockObject(NetworkFile file,
long offset,
long len,
int pid)
Create a lock object, use the standard FileLock object.
|
FileLock |
FileStateLockManager.createLockObject(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long offset,
long len,
int pid)
Create a file lock object.
|
boolean |
FileStateLockManager.grantOpLock(String path,
OpLockDetails oplock,
NetworkFile netFile)
Grant an oplock, store the oplock details
|
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 |
---|---|
boolean |
HazelCastClusterFileStateCache.addOpLock(FileState fstate,
OpLockDetails oplock,
NetworkFile netFile)
Add an oplock
|
FileLock |
HazelCastClusterFileStateCache.createFileLockObject(NetworkFile file,
long offset,
long len,
int pid)
Create a file lock object
|
Modifier and Type | Class and Description |
---|---|
class |
CachedNetworkFile
Cached Data Network File Class
|
class |
DBNetworkFile
Database Network File Class
|
class |
DirectoryNetworkFile
Directory Network File Class
|
class |
LocalDataNetworkFile
Local Data Network File Class
|
Modifier and Type | Method and Description |
---|---|
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
|
NetworkFile |
DBFileLoader.openFile(FileOpenParams params,
int fid,
int stid,
int did,
boolean create,
boolean dir)
Create a network file for the specified file
|
NetworkFile |
ObjectIdFileLoader.openFile(FileOpenParams params,
int fid,
int stid,
int did,
boolean create,
boolean dir)
Create a network file 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
|
Modifier and Type | Method and Description |
---|---|
long |
DBQuotaManager.allocateSpace(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long alloc)
Allocate space from the filesystem free space.
|
void |
DBFileLoader.closeFile(SrvSession sess,
NetworkFile netFile)
Close the network file
|
void |
ObjectIdFileLoader.closeFile(SrvSession sess,
NetworkFile netFile)
Close the network file
|
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.flushFile(SrvSession sess,
TreeConnection tree,
NetworkFile file)
Flush buffered data for the specified file
|
int |
DBDiskDriver.getSecurityDescriptorLength(SrvSession sess,
TreeConnection tree,
NetworkFile netFile)
Return the security descriptor length for the specified file
|
SecurityDescriptor |
DBDiskDriver.loadSecurityDescriptor(SrvSession sess,
TreeConnection tree,
NetworkFile netFile)
Load a security descriptor for the specified 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
|
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.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 |
---|---|
NetworkFile |
WriteRequest.getFile()
Return the network file
|
NetworkFile |
FileLoader.openFile(FileOpenParams params,
int fid,
int stid,
int did,
boolean create,
boolean dir)
Create a network file for the specified file
|
NetworkFile |
SimpleFileLoader.openFile(FileOpenParams params,
int fid,
int stid,
int did,
boolean create,
boolean dir)
Open/create a file
|
Modifier and Type | Method and Description |
---|---|
void |
FileLoader.closeFile(SrvSession sess,
NetworkFile netFile)
Close the network file
|
void |
SimpleFileLoader.closeFile(SrvSession sess,
NetworkFile netFile)
Close the network file
|
Constructor and Description |
---|
WriteRequest(NetworkFile file,
TreeConnection tree,
DiskInterface disk,
int writeLen,
long writeOff,
byte[] data,
int dataOff)
Class constructor
|
Modifier and Type | Class and Description |
---|---|
class |
MemoryNetworkFile
In Memory Network File Class
|
class |
PseudoFolderNetworkFile
Pseudo Folder Network File Class
|
class |
PseudoNetworkFile
Pseudo File Network File Class
|
Modifier and Type | Method and Description |
---|---|
NetworkFile |
MemoryPseudoFile.getFile(String netPath)
Return a network file for reading/writing the pseudo file
|
NetworkFile |
LocalPseudoFile.getFile(String netPath)
Return a network file for reading/writing the pseudo file
|
abstract NetworkFile |
PseudoFile.getFile(String netPath)
Return a network file for reading/writing the pseudo file
|
Modifier and Type | Method and Description |
---|---|
long |
QuotaManager.allocateSpace(SrvSession sess,
TreeConnection tree,
NetworkFile file,
long alloc)
Allocate space on 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
|
boolean |
OpLockManager.grantOpLock(String path,
OpLockDetails oplock,
NetworkFile netFile)
Grant an oplock, store the oplock details
|
void |
FileLockListener.lockDenied(SrvSession sess,
NetworkFile file,
FileLock lock)
Lock has been denied on the specified file.
|
void |
LockManager.lockFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
FileLock lock)
Lock a byte range within a file, or the whole file.
|
void |
FileLockListener.lockGranted(SrvSession sess,
NetworkFile file,
FileLock lock)
Lock has been granted on the specified file.
|
void |
FileLockListener.lockReleased(SrvSession sess,
NetworkFile file,
FileLock lock)
Lock has been released on the specified 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 | Class and Description |
---|---|
class |
DCEPipeFile
DCE/RPC Pipe File Class
|
Modifier and Type | Method and Description |
---|---|
NotifyRequest |
SMBSrvSession.findNotifyRequest(NetworkFile dir,
int filter,
boolean watchTree)
Find an existing notify request for the specified directory and filter
|
protected int |
NTProtocolHandler.procAndXCommands(SMBSrvPacket smbPkt,
NetworkFile file)
Process the chained SMB commands (AndX).
|
protected int |
NTProtocolHandler.procChainedReadAndX(int cmdOff,
SMBSrvPacket smbPkt,
SMBSrvPacket respPkt,
int endOff,
NetworkFile netFile)
Process a chained read file request
|
Modifier and Type | Class and Description |
---|---|
class |
JavaNetworkFile
Network file implementation that uses the java.io.File class.
|
class |
NIOJavaNetworkFile
Network file implementation that uses the java.io.File class.
|
Modifier and Type | Method and Description |
---|---|
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
|
NetworkFile |
EnhJavaFileDiskDriver.openFile(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Open a file
|
NetworkFile |
JavaFileDiskDriver.openFile(SrvSession sess,
TreeConnection tree,
FileOpenParams params)
Open a file
|
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
|
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.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
|
void |
NIOLockManager.lockFile(SrvSession sess,
TreeConnection tree,
NetworkFile file,
FileLock lock)
Lock a byte range within a file, or the whole 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.
|
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.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 |
---|---|
NetworkFile |
NotifyRequest.getDirectory()
Get the directory being watched
|
Modifier and Type | Method and Description |
---|---|
NotifyRequest |
NotifyRequestList.findRequest(NetworkFile dir,
int filter,
boolean watchTree)
Find the notify request for the specified directory and filter
|
Constructor and Description |
---|
NotifyRequest(int filter,
boolean watchTree,
SMBSrvSession sess,
NetworkFile dir,
int mid,
int tid,
int pid,
int uid,
int qlen)
Class constructor
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.