Modifier and Type | Class and Description |
---|---|
class |
FTPSrvSession
FTP Server Session Class
|
Modifier and Type | Method and Description |
---|---|
protected void |
FTPServer.sessionLoggedOn(SrvSession sess)
Notify the server that a user has logged on.
|
Modifier and Type | Method and Description |
---|---|
void |
RpcAuthenticator.setCurrentUser(SrvSession sess,
ClientInfo client)
Set the current authenticated user context for processing of the current RPC request
|
void |
DefaultRpcAuthenticator.setCurrentUser(SrvSession sess,
ClientInfo client)
Set the current authenticated user context for processing of the current RPC request
|
Modifier and Type | Class and Description |
---|---|
class |
NFSSrvSession
NFS Server Session Class
|
Modifier and Type | Method and Description |
---|---|
NetworkFile |
NetworkFileCache.findFile(int id,
SrvSession sess)
Find a file via the file id
|
protected void |
NFSServer.fireSessionClosed(SrvSession sess)
Inform session listeners that a session has been closed
|
protected void |
NFSServer.fireSessionOpened(SrvSession sess)
Inform session listeners that a new session has been created
|
Modifier and Type | Method and Description |
---|---|
void |
HomeShareMapper.deleteShares(SrvSession sess)
Delete temporary shares for the specified session
|
SharedDevice |
HomeShareMapper.findShare(String host,
String name,
int typ,
SrvSession sess,
boolean create)
Find a share using the name and type for the specified client.
|
SharedDeviceList |
HomeShareMapper.getShareList(String host,
SrvSession sess,
boolean allShares)
Return the list of available shares.
|
Modifier and Type | Method and Description |
---|---|
SrvSession |
SrvSessionList.findSession(int id)
Find the session using the unique session id
|
SrvSession |
SrvSessionQueue.removeSession()
Remove a session from the head of the queue
|
SrvSession |
SrvSessionList.removeSession(int id)
Remove a session from the list
|
SrvSession |
SrvSessionList.removeSession(SrvSession sess)
Remove a session from the list
|
SrvSession |
SrvSessionQueue.removeSessionNoWait()
Remove a session from the queue, without waiting if there are no sessions in the queue
|
Modifier and Type | Method and Description |
---|---|
Enumeration<SrvSession> |
SrvSessionList.enumerateSessions()
Enumerate the session objects
|
Modifier and Type | Method and Description |
---|---|
void |
SrvSessionList.addSession(SrvSession sess)
Add a session to the list
|
void |
SrvSessionQueue.addSession(SrvSession sess)
Add a session to the queue
|
SharedDevice |
NetworkServer.findShare(String host,
String name,
int typ,
SrvSession sess,
boolean create)
Find the shared device with the specified name.
|
protected void |
NetworkServer.fireSessionClosedEvent(SrvSession sess)
Trigger a closed session event to all registered session listeners.
|
protected void |
NetworkServer.fireSessionLoggedOnEvent(SrvSession sess)
Trigger a new session event to all registered session listeners.
|
protected void |
NetworkServer.fireSessionOpenEvent(SrvSession sess)
Trigger a new session event to all registered session listeners.
|
SharedDeviceList |
NetworkServer.getFullShareList(String host,
SrvSession sess)
Return the complete shared device list.
|
SharedDeviceList |
NetworkServer.getShareList(String host,
SrvSession sess)
Return the available shared device list.
|
SrvSession |
SrvSessionList.removeSession(SrvSession sess)
Remove a session from the list
|
void |
SessionListener.sessionClosed(SrvSession sess)
Called when a network session is closed.
|
void |
SessionListener.sessionCreated(SrvSession sess)
Called when a new network session is created by a network server.
|
void |
SessionListener.sessionLoggedOn(SrvSession sess)
Called when a user logs on to a network server
|
Modifier and Type | Method and Description |
---|---|
int |
DefaultAuthenticator.authenticateShareConnect(ClientInfo client,
SharedDevice share,
String pwd,
SrvSession sess)
Allow any user to access the server
|
int |
ICifsAuthenticator.authenticateShareConnect(ClientInfo client,
SharedDevice share,
String sharePwd,
SrvSession sess)
Authenticate a connection to a share.
|
int |
CifsAuthenticator.authenticateShareConnect(ClientInfo client,
SharedDevice share,
String sharePwd,
SrvSession sess) |
int |
LocalAuthenticator.authenticateShareConnect(ClientInfo client,
SharedDevice share,
String pwd,
SrvSession sess)
Authenticate the connection to a share
|
int |
DefaultAuthenticator.authenticateUser(ClientInfo client,
SrvSession sess,
int alg)
Allow any user to access the server.
|
int |
ICifsAuthenticator.authenticateUser(ClientInfo client,
SrvSession sess,
int alg)
Authenticate a user.
|
int |
CifsAuthenticator.authenticateUser(ClientInfo client,
SrvSession sess,
int alg) |
int |
LocalAuthenticator.authenticateUser(ClientInfo client,
SrvSession sess,
int alg)
Authenticate a user
|
int |
CifsAuthenticator.authenticateUserPlainText(ClientInfo client,
SrvSession sess) |
protected void |
CifsAuthenticator.doGuestLogon(ClientInfo client,
SrvSession sess)
Logon using the guest user account
|
byte[] |
DefaultAuthenticator.getChallengeKey(SrvSession sess)
The default authenticator does not use encrypted passwords.
|
Modifier and Type | Method and Description |
---|---|
int |
UserAccessControl.allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the user name matches the access control user name and return the allowed access.
|
int |
ProtocolAccessControl.allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the protocol matches the access control protocol list and return the allowed access.
|
int |
UidAccessControl.allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the session is an RPC session (NFS/mount) and the client has the required Unix user id.
|
int |
DomainAccessControl.allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the domain name matches the access control domain name and return the allowed access.
|
int |
IpAddressAccessControl.allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the TCP/IP address matches the specifed address or is within the subnet.
|
abstract int |
AccessControl.allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the specified session has access to the shared device.
|
int |
GidAccessControl.allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the session is an RPC session (NFS/mount) and the client is a member of the required
group.
|
int |
DefaultAccessControlManager.checkAccessControl(SrvSession sess,
SharedDevice share)
Check if the session has access to the shared device.
|
int |
AccessControlManager.checkAccessControl(SrvSession sess,
SharedDevice share)
Check access to the shared filesystem for the specified session
|
SharedDeviceList |
DefaultAccessControlManager.filterShareList(SrvSession sess,
SharedDeviceList shares)
Filter the list of shared devices to return a list that contains only the shares that
are visible or accessible by the session.
|
SharedDeviceList |
AccessControlManager.filterShareList(SrvSession sess,
SharedDeviceList shares)
Filter a shared device list to remove shares that are not visible or the session does
not have access to.
|
Modifier and Type | Method and Description |
---|---|
SrvSession |
PassthruDetails.getSession()
Return the session details
|
Modifier and Type | Method and Description |
---|---|
int |
PassthruAuthenticator.authenticateShareConnect(ClientInfo client,
SharedDevice share,
String sharePwd,
SrvSession sess)
Authenticate the connection to a particular share, called when the SMB server is in share
security mode
|
int |
PassthruAuthenticator.authenticateUser(ClientInfo client,
SrvSession sess,
int alg)
Authenticate a session setup by a user
|
void |
PassthruAuthenticator.sessionClosed(SrvSession sess)
SMB server session closed notification
|
void |
PassthruAuthenticator.sessionCreated(SrvSession sess)
SMB server session created notification
|
void |
PassthruAuthenticator.sessionLoggedOn(SrvSession sess)
User successfully logged on notification
|
Constructor and Description |
---|
PassthruDetails(SrvSession sess,
AuthenticateSession authSess)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
ShareMapper.deleteShares(SrvSession sess)
Delete any temporary shares created for the specified session
|
SharedDevice |
ShareMapper.findShare(String tohost,
String name,
int typ,
SrvSession sess,
boolean create)
Find the share of the specified name/type
|
SharedDeviceList |
ShareMapper.getShareList(String host,
SrvSession sess,
boolean allShares)
Return the share list for the specified host.
|
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 |
---|---|
SrvSession |
FileOpenParams.getSession()
Return the session
|
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 |
TransactionalFilesystemInterface.beginReadTransaction(SrvSession sess)
Begin a read-only transaction
|
void |
TransactionalFilesystemInterface.beginWriteTransaction(SrvSession sess)
Begin a writeable transaction
|
String |
FileIdInterface.buildPathForFileId(SrvSession sess,
TreeConnection tree,
int dirid,
int fileid)
Convert a file id to a share relative path
|
void |
TreeConnection.closeConnection(SrvSession sess)
Close the tree connection, release resources.
|
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.
|
void |
DefaultShareMapper.deleteShares(SrvSession sess)
Delete temporary shares for the specified session
|
void |
TransactionalFilesystemInterface.endTransaction(SrvSession sess,
Object tx)
End an active transaction
|
void |
FileListener.fileClosed(SrvSession sess,
NetworkFile file)
File has been closed.
|
int |
DiskInterface.fileExists(SrvSession sess,
TreeConnection tree,
String name)
Check if the specified file exists, and whether it is a file or directory.
|
void |
FileListener.fileOpened(SrvSession sess,
NetworkFile file)
File has been opened.
|
SharedDevice |
DefaultShareMapper.findShare(String host,
String name,
int typ,
SrvSession sess,
boolean create)
Find a share using the name and type for the specified client.
|
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.
|
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
|
SharedDeviceList |
DefaultShareMapper.getShareList(String host,
SrvSession sess,
boolean allShares)
Return the list of available shares.
|
boolean |
SymbolicLinkInterface.hasSymbolicLinksEnabled(SrvSession sess,
TreeConnection tree)
Determine if symbolic links are enabled
|
boolean |
DiskInterface.isReadOnly(SrvSession sess,
DeviceContext ctx)
Determine if the disk device is read-only.
|
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 |
TreeConnection.removeFile(int idx,
SrvSession sess)
Remove a network file from the list of open files for this connection.
|
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 |
FileOpenParams.setSession(SrvSession sess)
Set the session that is making the open/create request
|
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 |
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.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
|
boolean |
DBDiskDriver.isReadOnly(SrvSession sess,
DeviceContext ctx)
Determine if the disk device is read-only.
|
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 |
---|---|
void |
FileLoader.closeFile(SrvSession sess,
NetworkFile netFile)
Close the network file
|
void |
SimpleFileLoader.closeFile(SrvSession sess,
NetworkFile netFile)
Close the network file
|
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 |
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 |
SMBSrvSession
The SMB server creates a server session object for each incoming session request.
|
Modifier and Type | Method and Description |
---|---|
void |
VirtualCircuit.closeCircuit(SrvSession sess)
Close the virtual circuit, close active tree connections
|
void |
VirtualCircuitList.removeCircuit(int uid,
SrvSession sess)
Remove the specified virtual circuit from the active circuit list.
|
protected void |
VirtualCircuit.removeConnection(int treeId,
SrvSession sess)
Remove the specified tree connection from the active connection list.
|
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
|
boolean |
EnhJavaFileDiskDriver.isReadOnly(SrvSession sess,
DeviceContext ctx)
Determine if the disk device is read-only.
|
boolean |
JavaFileDiskDriver.isReadOnly(SrvSession sess,
DeviceContext ctx)
Determine if the disk device is read-only.
|
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–2018 Alfresco Software. All rights reserved.