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

## Uses of Class
net.schmizz.sshj.common.DisconnectReason

Packages that use DisconnectReason
net.schmizz.sshj.common
net.schmizz.sshj.connection
net.schmizz.sshj.sftp
net.schmizz.sshj.transport
net.schmizz.sshj.userauth

Uses of DisconnectReason in net.schmizz.sshj.common

Methods in net.schmizz.sshj.common that return DisconnectReason
`static DisconnectReason` `DisconnectReason.fromInt(int code)`
`DisconnectReason` `SSHException.getDisconnectReason()`
`static DisconnectReason` `DisconnectReason.valueOf(String name)` Returns the enum constant of this type with the specified name.
`static DisconnectReason[]` `DisconnectReason.values()` Returns an array containing the constants of this enum type, in the order they are declared.

Constructors in net.schmizz.sshj.common with parameters of type DisconnectReason
`SSHException(DisconnectReason code)`
`SSHException(DisconnectReason code, String message)`
`SSHException(DisconnectReason code, String message, Throwable cause)`
`SSHException(DisconnectReason code, Throwable cause)`

Uses of DisconnectReason in net.schmizz.sshj.connection

Constructors in net.schmizz.sshj.connection with parameters of type DisconnectReason
`ConnectionException(DisconnectReason code)`
`ConnectionException(DisconnectReason code, String message)`
`ConnectionException(DisconnectReason code, String message, Throwable cause)`
`ConnectionException(DisconnectReason code, Throwable cause)`

Uses of DisconnectReason in net.schmizz.sshj.sftp

Constructors in net.schmizz.sshj.sftp with parameters of type DisconnectReason
`SFTPException(DisconnectReason code)`
`SFTPException(DisconnectReason code, String message)`
`SFTPException(DisconnectReason code, String message, Throwable cause)`
`SFTPException(DisconnectReason code, Throwable cause)`

Uses of DisconnectReason in net.schmizz.sshj.transport

Methods in net.schmizz.sshj.transport with parameters of type DisconnectReason
`void` `TransportImpl.disconnect(DisconnectReason reason)`
`void` `Transport.disconnect(DisconnectReason reason)` Send a disconnect packet with the given `reason`, and closes this transport.
`void` `TransportImpl.disconnect(DisconnectReason reason, String message)`
`void` `Transport.disconnect(DisconnectReason reason, String message)` Send a disconnect packet with the given `reason` and `message`, and closes this transport.
`void` `DisconnectListener.notifyDisconnect(DisconnectReason reason)`

Constructors in net.schmizz.sshj.transport with parameters of type DisconnectReason
`TransportException(DisconnectReason code)`
`TransportException(DisconnectReason code, String message)`
`TransportException(DisconnectReason code, String message, Throwable cause)`
`TransportException(DisconnectReason code, Throwable cause)`

Uses of DisconnectReason in net.schmizz.sshj.userauth

Constructors in net.schmizz.sshj.userauth with parameters of type DisconnectReason
`UserAuthException(DisconnectReason code)`
`UserAuthException(DisconnectReason code, String message)`
`UserAuthException(DisconnectReason code, String message, Throwable cause)`
`UserAuthException(DisconnectReason code, Throwable cause)`

Copyright © 2009-2011. All Rights Reserved.