Package com.sshtools.j2ssh.sftp
Class SshFxpStatus
- java.lang.Object
-
- com.sshtools.j2ssh.subsystem.SubsystemMessage
-
- com.sshtools.j2ssh.sftp.SshFxpStatus
-
public class SshFxpStatus extends SubsystemMessage
- Version:
- $Revision: 1.18 $
- Author:
- $author$
-
-
Field Summary
Fields Modifier and Type Field Description static int
SSH_FXP_STATUS
static int
STATUS_FX_BAD_MESSAGE
static int
STATUS_FX_CONNECTION_LOST
static int
STATUS_FX_EOF
static int
STATUS_FX_FAILURE
static int
STATUS_FX_NO_CONNECTION
static int
STATUS_FX_NO_SUCH_FILE
static int
STATUS_FX_OK
static int
STATUS_FX_OP_UNSUPPORTED
static int
STATUS_FX_PERMISSION_DENIED
-
Constructor Summary
Constructors Constructor Description SshFxpStatus()
Creates a new SshFxpStatus object.SshFxpStatus(UnsignedInteger32 id, UnsignedInteger32 errorCode, java.lang.String errorMessage, java.lang.String languageTag)
Creates a new SshFxpStatus object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
constructByteArray(ByteArrayWriter baw)
void
constructMessage(ByteArrayReader bar)
UnsignedInteger32
getErrorCode()
java.lang.String
getErrorMessage()
UnsignedInteger32
getId()
java.lang.String
getLanguageTag()
java.lang.String
getMessageName()
-
Methods inherited from class com.sshtools.j2ssh.subsystem.SubsystemMessage
fromByteArray, getMessageType, toByteArray
-
-
-
-
Field Detail
-
SSH_FXP_STATUS
public static final int SSH_FXP_STATUS
- See Also:
- Constant Field Values
-
STATUS_FX_OK
public static final int STATUS_FX_OK
- See Also:
- Constant Field Values
-
STATUS_FX_EOF
public static final int STATUS_FX_EOF
- See Also:
- Constant Field Values
-
STATUS_FX_NO_SUCH_FILE
public static final int STATUS_FX_NO_SUCH_FILE
- See Also:
- Constant Field Values
-
STATUS_FX_PERMISSION_DENIED
public static final int STATUS_FX_PERMISSION_DENIED
- See Also:
- Constant Field Values
-
STATUS_FX_FAILURE
public static final int STATUS_FX_FAILURE
- See Also:
- Constant Field Values
-
STATUS_FX_BAD_MESSAGE
public static final int STATUS_FX_BAD_MESSAGE
- See Also:
- Constant Field Values
-
STATUS_FX_NO_CONNECTION
public static final int STATUS_FX_NO_CONNECTION
- See Also:
- Constant Field Values
-
STATUS_FX_CONNECTION_LOST
public static final int STATUS_FX_CONNECTION_LOST
- See Also:
- Constant Field Values
-
STATUS_FX_OP_UNSUPPORTED
public static final int STATUS_FX_OP_UNSUPPORTED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SshFxpStatus
public SshFxpStatus(UnsignedInteger32 id, UnsignedInteger32 errorCode, java.lang.String errorMessage, java.lang.String languageTag)
Creates a new SshFxpStatus object.- Parameters:
id
-errorCode
-errorMessage
-languageTag
-
-
SshFxpStatus
public SshFxpStatus()
Creates a new SshFxpStatus object.
-
-
Method Detail
-
getId
public UnsignedInteger32 getId()
- Returns:
-
getErrorCode
public UnsignedInteger32 getErrorCode()
- Returns:
-
getErrorMessage
public java.lang.String getErrorMessage()
- Returns:
-
getLanguageTag
public java.lang.String getLanguageTag()
- Returns:
-
constructMessage
public void constructMessage(ByteArrayReader bar) throws java.io.IOException, InvalidMessageException
- Specified by:
constructMessage
in classSubsystemMessage
- Parameters:
bar
-- Throws:
java.io.IOException
InvalidMessageException
- DOCUMENT ME!
-
getMessageName
public java.lang.String getMessageName()
- Specified by:
getMessageName
in classSubsystemMessage
- Returns:
-
constructByteArray
public void constructByteArray(ByteArrayWriter baw) throws java.io.IOException, InvalidMessageException
- Specified by:
constructByteArray
in classSubsystemMessage
- Parameters:
baw
-- Throws:
java.io.IOException
InvalidMessageException
- DOCUMENT ME!
-
-