| net.schmizz.sshj.transport.compression.Compression |
Known Indirect Subclasses
|
Interface used to compress the stream of data between the SSH server and clients.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Compression.Mode | Enum identifying if this object will be used to compress or uncompress data. | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Compress the given buffer in place.
| |||||||||||
Initialize this object to either compress or uncompress data.
| |||||||||||
Delayed compression is an Open-SSH specific feature which informs both the client and server to not compress data
before the session has been authenticated.
| |||||||||||
Uncompress the data in a buffer into another buffer.
| |||||||||||
Compress the given buffer in place.
| buffer | The buffer containing the data to compress s |
|---|
Initialize this object to either compress or uncompress data. This method must be called prior to any calls to
either compress or uncompress. Once the object has been initialized, only one of
compress or uncompress method can be called.
| mode |
|---|
Delayed compression is an Open-SSH specific feature which informs both the client and server to not compress data before the session has been authenticated.
Uncompress the data in a buffer into another buffer.
| from | The buffer containing the data to uncompress |
|---|---|
| to | The buffer receiving the uncompressed data |
| TransportException |
|---|