com.sshtools.j2ssh.sftp

Class SshFxpMkdir

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

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

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

Field Summary

static int
SSH_FXP_MKDIR

Constructor Summary

SshFxpMkdir()
Creates a new SshFxpMkdir object.
SshFxpMkdir(UnsignedInteger32 id, String path, FileAttributes attrs)
Creates a new SshFxpMkdir object.

Method Summary

void
constructByteArray(ByteArrayWriter baw)
void
constructMessage(ByteArrayReader bar)
FileAttributes
getAttributes()
UnsignedInteger32
getId()
String
getMessageName()
String
getPath()

Methods inherited from class com.sshtools.j2ssh.subsystem.SubsystemMessage

constructByteArray, constructMessage, fromByteArray, getMessageName, getMessageType, toByteArray

Field Details

SSH_FXP_MKDIR

public static final int SSH_FXP_MKDIR
Field Value:
14

Constructor Details

SshFxpMkdir

public SshFxpMkdir()
Creates a new SshFxpMkdir object.

SshFxpMkdir

public SshFxpMkdir(UnsignedInteger32 id,
                   String path,
                   FileAttributes attrs)
Creates a new SshFxpMkdir object.
Parameters:
id -
path -
attrs -

Method Details

constructByteArray

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

constructMessage

public void constructMessage(ByteArrayReader bar)
            throws java.io.IOException,
                   InvalidMessageException
Overrides:
constructMessage in interface SubsystemMessage
Parameters:
bar -
Throws:
InvalidMessageException - DOCUMENT ME!

getAttributes

public FileAttributes getAttributes()
Returns:

getId

public UnsignedInteger32 getId()
Specified by:
getId in interface com.sshtools.j2ssh.sftp.MessageRequestId
Returns:

getMessageName

public String getMessageName()
Overrides:
getMessageName in interface SubsystemMessage
Returns:

getPath

public String getPath()
Returns:

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