com.sshtools.j2ssh.sftp
Class SshFxpOpen

java.lang.Object
  extended bycom.sshtools.j2ssh.subsystem.SubsystemMessage
      extended bycom.sshtools.j2ssh.sftp.SshFxpOpen
All Implemented Interfaces:
com.sshtools.j2ssh.sftp.MessageRequestId

public class SshFxpOpen
extends SubsystemMessage
implements com.sshtools.j2ssh.sftp.MessageRequestId

DOCUMENT ME!


Field Summary
static int FXF_APPEND
          DOCUMENT ME!
static int FXF_CREAT
          DOCUMENT ME!
static int FXF_EXCL
          DOCUMENT ME!
static int FXF_READ
          DOCUMENT ME!
static int FXF_TRUNC
          DOCUMENT ME!
static int FXF_WRITE
          DOCUMENT ME!
static int SSH_FXP_OPEN
          DOCUMENT ME!
 
Constructor Summary
SshFxpOpen()
          Creates a new SshFxpOpen object.
SshFxpOpen(UnsignedInteger32 id, java.lang.String filename, UnsignedInteger32 pflags, FileAttributes attrs)
           
 
Method Summary
 void constructByteArray(ByteArrayWriter baw)
          DOCUMENT ME!
 void constructMessage(ByteArrayReader bar)
          DOCUMENT ME!
 FileAttributes getAttributes()
          DOCUMENT ME!
 java.lang.String getFilename()
          DOCUMENT ME!
 UnsignedInteger32 getId()
          DOCUMENT ME!
 java.lang.String getMessageName()
          DOCUMENT ME!
 UnsignedInteger32 getPflags()
          DOCUMENT ME!
 
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_OPEN

public static final int SSH_FXP_OPEN
DOCUMENT ME!

See Also:
Constant Field Values

FXF_READ

public static final int FXF_READ
DOCUMENT ME!

See Also:
Constant Field Values

FXF_WRITE

public static final int FXF_WRITE
DOCUMENT ME!

See Also:
Constant Field Values

FXF_APPEND

public static final int FXF_APPEND
DOCUMENT ME!

See Also:
Constant Field Values

FXF_CREAT

public static final int FXF_CREAT
DOCUMENT ME!

See Also:
Constant Field Values

FXF_TRUNC

public static final int FXF_TRUNC
DOCUMENT ME!

See Also:
Constant Field Values

FXF_EXCL

public static final int FXF_EXCL
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

SshFxpOpen

public SshFxpOpen(UnsignedInteger32 id,
                  java.lang.String filename,
                  UnsignedInteger32 pflags,
                  FileAttributes attrs)

SshFxpOpen

public SshFxpOpen()
Creates a new SshFxpOpen object.

Method Detail

getId

public UnsignedInteger32 getId()
DOCUMENT ME!

Specified by:
getId in interface com.sshtools.j2ssh.sftp.MessageRequestId
Returns:
DOCUMENT ME!

getFilename

public java.lang.String getFilename()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getPflags

public UnsignedInteger32 getPflags()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getAttributes

public FileAttributes getAttributes()
DOCUMENT ME!

Returns:
DOCUMENT ME!

constructMessage

public void constructMessage(ByteArrayReader bar)
                      throws java.io.IOException,
                             InvalidMessageException
DOCUMENT ME!

Specified by:
constructMessage in class SubsystemMessage
Parameters:
bar - DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!
InvalidMessageException - DOCUMENT ME!

getMessageName

public java.lang.String getMessageName()
DOCUMENT ME!

Specified by:
getMessageName in class SubsystemMessage
Returns:
DOCUMENT ME!

constructByteArray

public void constructByteArray(ByteArrayWriter baw)
                        throws java.io.IOException,
                               InvalidMessageException
DOCUMENT ME!

Specified by:
constructByteArray in class SubsystemMessage
Parameters:
baw - DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!
InvalidMessageException - DOCUMENT ME!