ch.ethz.ssh2.packets
Class PacketSessionExecCommand

java.lang.Object
  extended by ch.ethz.ssh2.packets.PacketSessionExecCommand

public class PacketSessionExecCommand
extends Object

PacketSessionExecCommand.

Version:
$Id$
Author:
Christian Plattner

Field Summary
 String command
           
 int recipientChannelID
           
 boolean wantReply
           
 
Constructor Summary
PacketSessionExecCommand(int recipientChannelID, boolean wantReply, String command)
           
 
Method Summary
 byte[] getPayload()
           
 byte[] getPayload(String charsetName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

recipientChannelID

public int recipientChannelID

wantReply

public boolean wantReply

command

public String command
Constructor Detail

PacketSessionExecCommand

public PacketSessionExecCommand(int recipientChannelID,
                                boolean wantReply,
                                String command)
Method Detail

getPayload

public byte[] getPayload()
                  throws IOException
Throws:
IOException

getPayload

public byte[] getPayload(String charsetName)
                  throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException


Copyright © 2011. All Rights Reserved.