|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Compression
Interface used to compress the stream of data between the SSH server and clients.
| Nested Class Summary | |
|---|---|
static class |
Compression.Mode
Enum identifying if this object will be used to compress or uncompress data. |
| Method Summary | |
|---|---|
void |
compress(Buffer buffer)
Compress the given buffer in place. |
void |
init(Compression.Mode mode)
Initialize this object to either compress or uncompress data. |
boolean |
isDelayed()
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. |
void |
uncompress(Buffer from,
Buffer to)
Uncompress the data in a buffer into another buffer. |
| Method Detail |
|---|
void init(Compression.Mode mode)
compress or uncompress. Once the object has been initialized, only one of
compress or uncompress method can be called.
mode - boolean isDelayed()
void compress(Buffer buffer)
buffer - the buffer containing the data to compress s
void uncompress(Buffer from,
Buffer to)
throws TransportException
from - the buffer containing the data to uncompressto - the buffer receiving the uncompressed data
TransportException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||