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

## Uses of Class
net.schmizz.sshj.transport.TransportException

Packages that use TransportException
net.schmizz.sshj
net.schmizz.sshj.connection
net.schmizz.sshj.connection.channel
net.schmizz.sshj.connection.channel.direct
net.schmizz.sshj.connection.channel.forwarded
net.schmizz.sshj.transport
net.schmizz.sshj.transport.compression
net.schmizz.sshj.transport.kex
net.schmizz.sshj.userauth
net.schmizz.sshj.userauth.method

Uses of TransportException in net.schmizz.sshj

Methods in net.schmizz.sshj that throw TransportException
`void` `SSHClient.auth(String username, AuthMethod... methods)` Authenticate `username` using the supplied `methods`.
`void` `SSHClient.auth(String username, Iterable<AuthMethod> methods)` Authenticate `username` using the supplied `methods`.
`void` `SSHClient.authPassword(String username, char[] password)` Authenticate `username` using the `"password"` authentication method and as a fallback basic challenge-response authentication..
`void` `SSHClient.authPassword(String username, PasswordFinder pfinder)` Authenticate `username` using the `"password"` authentication method and as a fallback basic challenge-response authentication.
`void` `SSHClient.authPassword(String username, String password)` Authenticate `username` using the `"password"` authentication method and as a fallback basic challenge-response authentication.
`void` `SSHClient.authPublickey(String username)` Authenticate `username` using the `"publickey"` authentication method, with keys from some common locations on the file system.
`void` `SSHClient.authPublickey(String username, Iterable<KeyProvider> keyProviders)` Authenticate `username` using the `"publickey"` authentication method.
`void` `SSHClient.authPublickey(String username, KeyProvider... keyProviders)` Authenticate `username` using the `"publickey"` authentication method.
`void` `SSHClient.authPublickey(String username, String... locations)` Authenticate `username` using the `"publickey"` authentication method, with keys from one or more `locations` in the file system.
`protected void` `SSHClient.doKex()` Do key exchange.
`void` `SSHClient.rekey()` Does key re-exchange.
`void` `Service.request()` Request and install this service with the associated transport.
`void` `AbstractService.request()`
`Session` `SSHClient.startSession()`
`void` `SSHClient.useCompression()` Adds `zlib` compression to preferred compression algorithms.

Uses of TransportException in net.schmizz.sshj.connection

Methods in net.schmizz.sshj.connection that throw TransportException
`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.
`void` `ConnectionImpl.sendOpenFailure(int recipient, OpenFailException.Reason reason, String message)`
`void` `Connection.sendOpenFailure(int recipient, OpenFailException.Reason reason, String message)` Send a `SSH_MSG_OPEN_FAILURE` for specified `Reason` and `message`.

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

Methods in net.schmizz.sshj.connection.channel that throw TransportException
`void` `Channel.close()` Close this channel.
`void` `AbstractChannel.close()`
`void` `Channel.Forwarded.confirm()` Confirm `CHANNEL_OPEN` request.
`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.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` `Channel.Forwarded.reject(OpenFailException.Reason reason, String message)` Indicate rejection to remote end.
`protected Event<ConnectionException>` `AbstractChannel.sendChannelRequest(String reqType, boolean wantReply, Buffer.PlainBuffer reqSpecific)`
`protected void` `AbstractChannel.sendClose()`
`void` `Channel.sendEOF()` Sends an EOF message to the server for this channel; indicating that no more data will be sent by us.
`void` `AbstractChannel.sendEOF()`

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

Methods in net.schmizz.sshj.connection.channel.direct that throw TransportException
`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.
`void` `SessionChannel.changeWindowDimensions(int cols, int rows, int width, int height)`
`void` `Session.Shell.changeWindowDimensions(int cols, int rows, int width, int height)` Sends a window dimension change message.
`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.
`void` `SessionChannel.signal(Signal sig)`
`void` `Session.Command.signal(Signal signal)` Send a signal to the remote command.
`void` `Session.Shell.signal(Signal signal)` Send a signal.
`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 TransportException in net.schmizz.sshj.connection.channel.forwarded

Methods in net.schmizz.sshj.connection.channel.forwarded that throw TransportException
`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` `AbstractForwardedChannel.confirm()`
`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.
`void` `AbstractForwardedChannel.reject(OpenFailException.Reason reason, String message)`
`protected SSHPacket` `RemotePortForwarder.req(String reqName, RemotePortForwarder.Forward forward)`

Uses of TransportException in net.schmizz.sshj.transport

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

Methods in net.schmizz.sshj.transport that throw TransportException
`void` `TransportImpl.doKex()`
`void` `Transport.doKex()` Do key exchange and algorithm negotiation.
`void` `TransportImpl.init(String remoteHost, int remotePort, InputStream in, OutputStream out)`
`void` `Transport.init(String host, int port, InputStream in, OutputStream out)` Sets the host information and the streams to be used by this transport.
`void` `TransportImpl.join()`
`void` `Transport.join()` Joins the thread calling this method to the transport's death.
`void` `TransportImpl.join(int timeout, TimeUnit unit)`
`void` `Transport.join(int timeout, TimeUnit unit)` Joins the thread calling this method to the transport's death.
`void` `TransportImpl.reqService(Service service)`
`void` `Transport.reqService(Service service)` Request a SSH service represented by a `Service` instance.
`long` `TransportImpl.sendUnimplemented()`
`long` `Transport.sendUnimplemented()` Sends SSH_MSG_UNIMPLEMENTED in response to the last packet received.
`long` `TransportImpl.write(SSHPacket payload)`
`long` `Transport.write(SSHPacket payload)` Write a packet over this transport.

Uses of TransportException in net.schmizz.sshj.transport.compression

Methods in net.schmizz.sshj.transport.compression that throw TransportException
`void` `ZlibCompression.uncompress(Buffer from, Buffer to)`
`void` `Compression.uncompress(Buffer from, Buffer to)` Uncompress the data in a buffer into another buffer.

Uses of TransportException in net.schmizz.sshj.transport.kex

Methods in net.schmizz.sshj.transport.kex that throw TransportException
`void` `KeyExchange.init(Transport trans, byte[] V_S, byte[] V_C, byte[] I_S, byte[] I_C)` Initialize the key exchange algorithm.
`void` `AbstractDHG.init(Transport trans, byte[] V_S, byte[] V_C, byte[] I_S, byte[] I_C)`
`boolean` `KeyExchange.next(Message msg, SSHPacket buffer)` Process the next packet
`boolean` `AbstractDHG.next(Message msg, SSHPacket packet)`

Uses of TransportException in net.schmizz.sshj.userauth

Methods in net.schmizz.sshj.userauth that throw TransportException
`void` `UserAuthImpl.authenticate(String username, Service nextService, Iterable<AuthMethod> methods)`
`void` `UserAuth.authenticate(String username, Service nextService, Iterable<AuthMethod> methods)` Attempt to authenticate `username` using each of `methods` in order.

Uses of TransportException in net.schmizz.sshj.userauth.method

Methods in net.schmizz.sshj.userauth.method that throw TransportException
`void` `AuthPublickey.handle(Message cmd, SSHPacket buf)` Internal use.
`void` `AuthPassword.handle(Message cmd, SSHPacket buf)`
`void` `AuthKeyboardInteractive.handle(Message cmd, SSHPacket buf)`
`void` `AbstractAuthMethod.handle(Message msg, SSHPacket buf)`
`void` `AuthMethod.request()`
`void` `AbstractAuthMethod.request()`

Copyright © 2009-2011. All Rights Reserved.