com.sshtools.j2ssh.sftp
Class SshFxpStatus

java.lang.Object
  extended by com.sshtools.j2ssh.subsystem.SubsystemMessage
      extended by com.sshtools.j2ssh.sftp.SshFxpStatus

public class SshFxpStatus
extends SubsystemMessage

Version:
$Revision: 1.18 $
Author:
$author$

Field Summary
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
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
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 class SubsystemMessage
Parameters:
bar -
Throws:
java.io.IOException
InvalidMessageException - DOCUMENT ME!

getMessageName

public java.lang.String getMessageName()
Specified by:
getMessageName in class SubsystemMessage
Returns:

constructByteArray

public void constructByteArray(ByteArrayWriter baw)
                        throws java.io.IOException,
                               InvalidMessageException
Specified by:
constructByteArray in class SubsystemMessage
Parameters:
baw -
Throws:
java.io.IOException
InvalidMessageException - DOCUMENT ME!


Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.