com.sshtools.j2ssh.sftp
Class SshFxpOpen
java.lang.Object
com.sshtools.j2ssh.subsystem.SubsystemMessage
com.sshtools.j2ssh.sftp.SshFxpOpen
public class SshFxpOpen
- extends SubsystemMessage
- Version:
- $Revision: 1.16 $
- Author:
- $author$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
SshFxpOpen
public SshFxpOpen(UnsignedInteger32 id,
java.lang.String filename,
UnsignedInteger32 pflags,
FileAttributes attrs)
SshFxpOpen
public SshFxpOpen()
- Creates a new SshFxpOpen object.
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.