org.apache.sshd
Interface ClientChannel

All Known Implementing Classes:
AbstractClientChannel, ChannelExec, ChannelSession, ChannelShell

public interface ClientChannel

A client channel used to communicate with the SSH server. Client cannels can be shells, simple commands or subsystems

Author:
Apache MINA SSHD Project

Field Summary
static java.lang.String CHANNEL_EXEC
           
static java.lang.String CHANNEL_SHELL
           
static int CLOSED
           
static int EOF
           
static int EXIT_SIGNAL
           
static int EXIT_STATUS
           
static int STDERR_DATA
           
static int STDOUT_DATA
           
static int TIMEOUT
           
 
Method Summary
 CloseFuture close(boolean immediately)
           
 OpenFuture open()
           
 void setErr(java.io.OutputStream err)
           
 void setIn(java.io.InputStream in)
           
 void setOut(java.io.OutputStream out)
           
 int waitFor(int mask, long timeout)
           
 

Field Detail

CHANNEL_EXEC

static final java.lang.String CHANNEL_EXEC
See Also:
Constant Field Values

CHANNEL_SHELL

static final java.lang.String CHANNEL_SHELL
See Also:
Constant Field Values

TIMEOUT

static final int TIMEOUT
See Also:
Constant Field Values

CLOSED

static final int CLOSED
See Also:
Constant Field Values

STDOUT_DATA

static final int STDOUT_DATA
See Also:
Constant Field Values

STDERR_DATA

static final int STDERR_DATA
See Also:
Constant Field Values

EOF

static final int EOF
See Also:
Constant Field Values

EXIT_STATUS

static final int EXIT_STATUS
See Also:
Constant Field Values

EXIT_SIGNAL

static final int EXIT_SIGNAL
See Also:
Constant Field Values
Method Detail

setIn

void setIn(java.io.InputStream in)

setOut

void setOut(java.io.OutputStream out)

setErr

void setErr(java.io.OutputStream err)

open

OpenFuture open()
                throws java.lang.Exception
Throws:
java.lang.Exception

waitFor

int waitFor(int mask,
            long timeout)

close

CloseFuture close(boolean immediately)


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.