Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sshtools.j2ssh.sftp
Class SshFxpWrite

    java.lang.Object
      com.sshtools.j2ssh.subsystem.SubsystemMessage
          com.sshtools.j2ssh.sftp.SshFxpWrite

All Implemented Interfaces:
  com.sshtools.j2ssh.sftp.MessageRequestId

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

DOCUMENT ME!

Field Summary
`static int` | `SSH_FXP_WRITE` DOCUMENT ME!

Constructor Summary
`SshFxpWrite()` Creates a new SshFxpWrite object.
`SshFxpWrite(UnsignedInteger32 id, byte[] handle, UnsignedInteger64 offset, byte[] data, int off, int len)` Creates a new SshFxpWrite object.

Method Summary
`void` | `constructByteArray(ByteArrayWriter baw)` DOCUMENT ME!
`void` | `constructMessage(ByteArrayReader bar)` DOCUMENT ME!
`byte[]` | `getData()` DOCUMENT ME!
`byte[]` | `getHandle()` DOCUMENT ME!
`UnsignedInteger32` | `getId()` DOCUMENT ME!
`java.lang.String` | `getMessageName()` DOCUMENT ME!
`UnsignedInteger64` | `getOffset()` 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_WRITE

    public static final int SSH_FXP_WRITE

  DOCUMENT ME!

  See Also:
    Constant Field Values

Constructor Detail

### SshFxpWrite

    public SshFxpWrite()

  Creates a new SshFxpWrite object.

### SshFxpWrite

    public SshFxpWrite(UnsignedInteger32 id,
                       byte[] handle,
                       UnsignedInteger64 offset,
                       byte[] data,
                       int off,
                       int len)

  Creates a new SshFxpWrite object.

Parameters:
  `id` - DOCUMENT ME!
  `handle` - DOCUMENT ME!
  `offset` - DOCUMENT ME!
  `data` - DOCUMENT ME!
  `off` - DOCUMENT ME!
  `len` - DOCUMENT ME!

Method Detail

### getId

    public UnsignedInteger32 getId()

  DOCUMENT ME!

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

### getHandle

    public byte[] getHandle()

  DOCUMENT ME!

  Returns:
    DOCUMENT ME!

### getOffset

    public UnsignedInteger64 getOffset()

  DOCUMENT ME!

  Returns:
    DOCUMENT ME!

### getData

    public byte[] getData()

  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!

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD