com.sshtools.daemon.sftp
Class SftpSubsystemServer
java.lang.Object
com.sshtools.daemon.subsystem.SubsystemServer
com.sshtools.daemon.sftp.SftpSubsystemServer
- All Implemented Interfaces:
- java.lang.Runnable
public class SftpSubsystemServer
- extends SubsystemServer
- Version:
- $Revision: 1.1 $
- Author:
- $author$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION_1
public static final int VERSION_1
- See Also:
- Constant Field Values
VERSION_2
public static final int VERSION_2
- See Also:
- Constant Field Values
VERSION_3
public static final int VERSION_3
- See Also:
- Constant Field Values
VERSION_4
public static final int VERSION_4
- See Also:
- Constant Field Values
log
private static org.apache.commons.logging.Log log
nfs
private NativeFileSystemProvider nfs
SftpSubsystemServer
public SftpSubsystemServer()
- Creates a new SftpSubsystemServer object.
setSession
public void setSession(SessionChannelServer session)
- Overrides:
setSession
in class SubsystemServer
- Parameters:
session
-
onMessageReceived
protected void onMessageReceived(SubsystemMessage msg)
- Specified by:
onMessageReceived
in class SubsystemServer
- Parameters:
msg
-
onSetAttributes
private void onSetAttributes(SshFxpSetStat msg)
onSetAttributes
private void onSetAttributes(SshFxpFSetStat msg)
onReadlink
private void onReadlink(SshFxpReadlink msg)
onSymlink
private void onSymlink(SshFxpSymlink msg)
onRemoveDirectory
private void onRemoveDirectory(SshFxpRmdir msg)
onRenameFile
private void onRenameFile(SshFxpRename msg)
onRemoveFile
private void onRemoveFile(SshFxpRemove msg)
onOpenFile
private void onOpenFile(SshFxpOpen msg)
onReadFile
private void onReadFile(SshFxpRead msg)
onWriteFile
private void onWriteFile(SshFxpWrite msg)
onCloseFile
private void onCloseFile(SshFxpClose msg)
onFStat
private void onFStat(SshFxpFStat msg)
onStat
private void onStat(SshFxpStat msg)
onLStat
private void onLStat(SshFxpLStat msg)
onReadDirectory
private void onReadDirectory(SshFxpReadDir msg)
onOpenDirectory
private void onOpenDirectory(SshFxpOpenDir msg)
onRealPath
private void onRealPath(SshFxpRealPath msg)
onMakeDirectory
private void onMakeDirectory(SshFxpMkdir msg)
checkDefaultPath
private java.lang.String checkDefaultPath(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException
onInitialize
private void onInitialize(SshFxpInit msg)