Package com.sshtools.j2ssh.sftp
Class SshFxpOpen
java.lang.Object
com.sshtools.j2ssh.subsystem.SubsystemMessage
com.sshtools.j2ssh.sftp.SshFxpOpen
- Version:
- $Revision: 1.16 $
- Author:
- $author$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new SshFxpOpen object.SshFxpOpen(UnsignedInteger32 id, String filename, UnsignedInteger32 pflags, FileAttributes attrs) -
Method Summary
Methods inherited from class com.sshtools.j2ssh.subsystem.SubsystemMessage
fromByteArray, getMessageType, toByteArray
-
Field Details
-
SSH_FXP_OPEN
public static final int SSH_FXP_OPEN- See Also:
-
FXF_READ
public static final int FXF_READ- See Also:
-
FXF_WRITE
public static final int FXF_WRITE- See Also:
-
FXF_APPEND
public static final int FXF_APPEND- See Also:
-
FXF_CREAT
public static final int FXF_CREAT- See Also:
-
FXF_TRUNC
public static final int FXF_TRUNC- See Also:
-
FXF_EXCL
public static final int FXF_EXCL- See Also:
-
-
Constructor Details
-
SshFxpOpen
public SshFxpOpen(UnsignedInteger32 id, String filename, UnsignedInteger32 pflags, FileAttributes attrs) -
SshFxpOpen
public SshFxpOpen()Creates a new SshFxpOpen object.
-
-
Method Details
-
getId
- Returns:
-
getFilename
- Returns:
-
getPflags
- Returns:
-
getAttributes
- Returns:
-
constructMessage
- Specified by:
constructMessagein classSubsystemMessage- Parameters:
bar-- Throws:
IOExceptionInvalidMessageException
-
getMessageName
- Specified by:
getMessageNamein classSubsystemMessage- Returns:
-
constructByteArray
- Specified by:
constructByteArrayin classSubsystemMessage- Parameters:
baw-- Throws:
IOExceptionInvalidMessageException
-