mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 12:42:43 +01:00
20 lines
417 B
PHP
20 lines
417 B
PHP
|
<?php
|
||
|
|
||
|
abstract class DiffusionGitWireProtocol extends Phobject {
|
||
|
|
||
|
private $protocolLog;
|
||
|
|
||
|
final public function setProtocolLog(PhabricatorProtocolLog $protocol_log) {
|
||
|
$this->protocolLog = $protocol_log;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
final public function getProtocolLog() {
|
||
|
return $this->protocolLog;
|
||
|
}
|
||
|
|
||
|
abstract public function willReadBytes($bytes);
|
||
|
abstract public function willWriteBytes($bytes);
|
||
|
|
||
|
}
|