And now make it work

pull/94/head
Pavel Djundik 9 years ago
parent 3c0ca191b5
commit 419f66ff72

@ -36,7 +36,7 @@
abstract public function Write( $Header, $String = '' ); abstract public function Write( $Header, $String = '' );
abstract public function Read( $Length = 1400 ); abstract public function Read( $Length = 1400 );
protected function ReadInternal( $Buffer, callable $SherlockFunction ) protected function ReadInternal( $Buffer, $SherlockFunction )
{ {
if( $Buffer->Remaining( ) === 0 ) if( $Buffer->Remaining( ) === 0 )
{ {

@ -78,7 +78,7 @@
return $Buffer; return $Buffer;
} }
private function Sherlock( $Buffer, $Length ) public function Sherlock( $Buffer, $Length )
{ {
$Data = FRead( $this->Socket, $Length ); $Data = FRead( $this->Socket, $Length );

@ -40,7 +40,7 @@
return $Buffer; return $Buffer;
} }
private function Sherlock( $Buffer, $Length ) public function Sherlock( $Buffer, $Length )
{ {
return false; return false;
} }

Loading…
Cancel
Save