com.sshtools.j2ssh.sftp
Class SshFxpOpen

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

public class SshFxpOpen
extends SubsystemMessage

Version:
$Revision: 1.16 $
Author:
$author$

Field Summary
static int FXF_APPEND
           
static int FXF_CREAT
           
static int FXF_EXCL
           
static int FXF_READ
           
static int FXF_TRUNC
           
static int FXF_WRITE
           
static int SSH_FXP_OPEN
           
 
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)
           
 void constructMessage(ByteArrayReader bar)
           
 FileAttributes getAttributes()
           
 java.lang.String getFilename()
           
 UnsignedInteger32 getId()
           
 java.lang.String getMessageName()
           
 UnsignedInteger32 getPflags()
           
 
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
See Also:
Constant Field Values

FXF_READ

public static final int FXF_READ
See Also:
Constant Field Values

FXF_WRITE

public static final int FXF_WRITE
See Also:
Constant Field Values

FXF_APPEND

public static final int FXF_APPEND
See Also:
Constant Field Values

FXF_CREAT

public static final int FXF_CREAT
See Also:
Constant Field Values

FXF_TRUNC

public static final int FXF_TRUNC
See Also:
Constant Field Values

FXF_EXCL

public static final int FXF_EXCL
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()
Returns:

getFilename

public java.lang.String getFilename()
Returns:

getPflags

public UnsignedInteger32 getPflags()
Returns:

getAttributes

public FileAttributes getAttributes()
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

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


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