| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private Compression. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | compress(Buffer
the buffer containing the data to compress buffer)Implements org. Compress the given buffer in place. |
| public void | init(Compression.
compression type type,compression level level)Implements org. Initialize this object to either compress or uncompress data. |
| public boolean | |
| public boolean | isDelayed()
Implements org. 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. |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| public void | uncompress(Buffer
the buffer containing the data to uncompress from, Buffer the buffer receiving the uncompressed data to)Implements org. Uncompress the data in a buffer into another buffer. |
| level | back to summary |
|---|---|
| private int level | |
| type | back to summary |
|---|---|
| private Compression. | |
| CompressionNone | back to summary |
|---|---|
| public CompressionNone() | |
| compress | back to summary |
|---|---|
| public void compress(Buffer buffer) throws IOException Implements org. Doc from org. Compress the given buffer in place.
| |
| init | back to summary |
|---|---|
| public void init(Compression. Implements org. Doc from org. Initialize this object to either compress or uncompress data. This method must be called prior to any calls to
either
| |
| isCompressionExecuted | back to summary |
|---|---|
| public boolean isCompressionExecuted() Overrides org. Implements org.
| |
| isDelayed | back to summary |
|---|---|
| public boolean isDelayed() Implements org. Doc from org. 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.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| uncompress | back to summary |
|---|---|
| public void uncompress(Buffer from, Buffer to) throws IOException Implements org. Doc from org. Uncompress the data in a buffer into another buffer.
| |