pssht
latest
SSH server library written in PHP
Main Page
Classes
Files
File List
CompressionInterface.php
1
<?php
2
3
/*
4
* This file is part of pssht.
5
*
6
* (c) François Poirotte <clicky@erebot.net>
7
*
8
* For the full copyright and license information, please view the LICENSE
9
* file that was distributed with this source code.
10
*/
11
12
namespace
fpoirotte\Pssht\Compression
;
13
17
interface
CompressionInterface
extends
\fpoirotte\Pssht\Algorithms\AlgorithmInterface
18
{
20
const
MODE_COMPRESS
= 0;
21
23
const
MODE_UNCOMPRESS
= 1;
24
33
public
function
__construct
($mode);
34
43
public
function
getMode
();
44
55
public
function
update
($data);
56
}
fpoirotte\Pssht\Compression\CompressionInterface\MODE_COMPRESS
const MODE_COMPRESS
Use the algorithm for compression.
Definition:
CompressionInterface.php:20
fpoirotte\Pssht\Compression
Definition:
CompressionInterface.php:12
fpoirotte\Pssht\Compression\CompressionInterface\__construct
__construct($mode)
fpoirotte\Pssht\Compression\CompressionInterface
Definition:
CompressionInterface.php:17
fpoirotte\Pssht\Compression\CompressionInterface\update
update($data)
fpoirotte\Pssht\Compression\CompressionInterface\getMode
getMode()
fpoirotte\Pssht\Compression\CompressionInterface\MODE_UNCOMPRESS
const MODE_UNCOMPRESS
Use the algorithm for decompression.
Definition:
CompressionInterface.php:23
src
Compression
CompressionInterface.php
Generated on Tue May 9 2017 12:09:55 for pssht by
1.8.11