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 intSSH_FXP_STATUSstatic intSTATUS_FX_BAD_MESSAGEstatic intSTATUS_FX_CONNECTION_LOSTstatic intSTATUS_FX_EOFstatic intSTATUS_FX_FAILUREstatic intSTATUS_FX_NO_CONNECTIONstatic intSTATUS_FX_NO_SUCH_FILEstatic intSTATUS_FX_OKstatic intSTATUS_FX_OP_UNSUPPORTEDstatic intSTATUS_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 voidconstructByteArray(ByteArrayWriter baw)voidconstructMessage(ByteArrayReader bar)UnsignedInteger32getErrorCode()java.lang.StringgetErrorMessage()UnsignedInteger32getId()java.lang.StringgetLanguageTag()java.lang.StringgetMessageName()-
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:
constructMessagein classSubsystemMessage- Parameters:
bar-- Throws:
java.io.IOExceptionInvalidMessageException- DOCUMENT ME!
-
getMessageName
public java.lang.String getMessageName()
- Specified by:
getMessageNamein classSubsystemMessage- Returns:
-
constructByteArray
public void constructByteArray(ByteArrayWriter baw) throws java.io.IOException, InvalidMessageException
- Specified by:
constructByteArrayin classSubsystemMessage- Parameters:
baw-- Throws:
java.io.IOExceptionInvalidMessageException- DOCUMENT ME!
-
-