# Uses of Class net.schmizz.sshj.connection.ConnectionException (sshj 0.4.0 API)
Date: 2011-06-06

## Uses of Class
net.schmizz.sshj.connection.ConnectionException

Packages that use ConnectionException
net.schmizz.sshj
net.schmizz.sshj.connection
net.schmizz.sshj.connection.channel
net.schmizz.sshj.connection.channel.direct
net.schmizz.sshj.connection.channel.forwarded

Uses of ConnectionException in net.schmizz.sshj

Methods in net.schmizz.sshj that throw ConnectionException
`Session` `SSHClient.startSession()`

Uses of ConnectionException in net.schmizz.sshj.connection

Fields in net.schmizz.sshj.connection with type parameters of type ConnectionException
`static ExceptionChainer<ConnectionException>` `ConnectionException.chainer`

Methods in net.schmizz.sshj.connection that return types with arguments of type ConnectionException
`Promise<SSHPacket,ConnectionException>` `ConnectionImpl.sendGlobalRequest(String name, boolean wantReply, byte[] specifics)`
`Promise<SSHPacket,ConnectionException>` `Connection.sendGlobalRequest(String name, boolean wantReply, byte[] specifics)` Send an SSH global request.

Uses of ConnectionException in net.schmizz.sshj.connection.channel

Subclasses of ConnectionException in net.schmizz.sshj.connection.channel
`class` `OpenFailException`

Fields in net.schmizz.sshj.connection.channel with type parameters of type ConnectionException
`protected Event<ConnectionException>` `AbstractChannel.close` Channel close event
`protected Event<ConnectionException>` `AbstractChannel.open` Channel open event

Methods in net.schmizz.sshj.connection.channel that return types with arguments of type ConnectionException
`protected Event<ConnectionException>` `AbstractChannel.sendChannelRequest(String reqType, boolean wantReply, Buffer.PlainBuffer reqSpecific)`

Methods in net.schmizz.sshj.connection.channel that throw ConnectionException
`void` `Channel.close()` Close this channel.
`void` `AbstractChannel.close()`
`protected void` `AbstractChannel.gotExtendedData(SSHPacket buf)`
`protected void` `AbstractChannel.gotUnknown(Message msg, SSHPacket buf)`
`void` `AbstractChannel.handle(Message msg, SSHPacket buf)`
`protected void` `AbstractChannel.handleRequest(String reqType, SSHPacket buf)`
`void` `Channel.join()`
`void` `AbstractChannel.join()`
`void` `Channel.join(int timeout, TimeUnit unit)`
`void` `AbstractChannel.join(int timeout, TimeUnit unit)`
`void` `Channel.Direct.open()` Request opening this channel from remote end.
`void` `ChannelInputStream.receive(byte[] data, int offset, int len)`
`protected void` `AbstractChannel.receiveInto(ChannelInputStream stream, SSHPacket buf)`
`void` `Window.Remote.waitAndConsume(int howMuch)`

Uses of ConnectionException in net.schmizz.sshj.connection.channel.direct

Methods in net.schmizz.sshj.connection.channel.direct that throw ConnectionException
`void` `SessionChannel.allocateDefaultPTY()`
`void` `Session.allocateDefaultPTY()` Allocates a default PTY.
`void` `SessionChannel.allocatePTY(String term, int cols, int rows, int width, int height, Map<PTYMode,Integer> modes)`
`void` `Session.allocatePTY(String term, int cols, int rows, int width, int height, Map<PTYMode,Integer> modes)` Allocate a psuedo-terminal for this session.
`Session.Command` `SessionChannel.exec(String command)`
`Session.Command` `Session.exec(String command)` Execute a remote command.
`protected void` `SessionChannel.gotExtendedData(SSHPacket buf)`
`protected void` `AbstractDirectChannel.gotUnknown(Message cmd, SSHPacket buf)`
`void` `SessionChannel.handleRequest(String req, SSHPacket buf)`
`void` `AbstractDirectChannel.open()`
`void` `SessionChannel.reqX11Forwarding(String authProto, String authCookie, int screen)`
`void` `Session.reqX11Forwarding(String authProto, String authCookie, int screen)` Request X11 forwarding.
`void` `SessionChannel.setEnvVar(String name, String value)`
`void` `Session.setEnvVar(String name, String value)` Set an enviornment variable.
`Session.Shell` `SessionChannel.startShell()`
`Session.Shell` `Session.startShell()` Request a shell.
`Session.Subsystem` `SessionChannel.startSubsystem(String name)`
`Session.Subsystem` `Session.startSubsystem(String name)` Request a subsystem.

Uses of ConnectionException in net.schmizz.sshj.connection.channel.forwarded

Methods in net.schmizz.sshj.connection.channel.forwarded that throw ConnectionException
`RemotePortForwarder.Forward` `RemotePortForwarder.bind(RemotePortForwarder.Forward forward, ConnectListener listener)` Request forwarding from the remote host on the specified `RemotePortForwarder.Forward`.
`void` `RemotePortForwarder.cancel(RemotePortForwarder.Forward forward)` Request cancellation of some forwarding.
`void` `X11Forwarder.handleOpen(SSHPacket buf)` Internal API
`void` `RemotePortForwarder.handleOpen(SSHPacket buf)` Internal API.
`void` `ForwardedChannelOpener.handleOpen(SSHPacket buf)` Delegates a `SSH_MSG_CHANNEL_OPEN` request for the channel type claimed by this opener.
`protected SSHPacket` `RemotePortForwarder.req(String reqName, RemotePortForwarder.Forward forward)`

Copyright © 2009-2011. All Rights Reserved.