org.apache.sshd
Interface ClientChannel
- All Known Implementing Classes:
- AbstractClientChannel, AgentForwardSupport.AgentForwardedChannel, ChannelExec, ChannelSession, ChannelShell, ChannelSubsystem, TcpipForwardSupport.ChannelForwardedTcpip, X11ForwardSupport.ChannelForwardedX11
public interface ClientChannel
A client channel used to communicate with
the SSH server. Client channels can be shells,
simple commands or subsystems
- Author:
- Apache MINA SSHD Project
CHANNEL_EXEC
static final String CHANNEL_EXEC
- See Also:
- Constant Field Values
CHANNEL_SHELL
static final String CHANNEL_SHELL
- See Also:
- Constant Field Values
CHANNEL_SUBSYSTEM
static final String CHANNEL_SUBSYSTEM
- 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
setIn
void setIn(InputStream in)
setOut
void setOut(OutputStream out)
setErr
void setErr(OutputStream err)
open
OpenFuture open()
throws Exception
- Throws:
Exception
waitFor
int waitFor(int mask,
long timeout)
close
CloseFuture close(boolean immediately)
getExitStatus
Integer getExitStatus()
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.