19 lines
387 B
PHP
19 lines
387 B
PHP
<?php
|
|
/**
|
|
* Abstract ProtocolHandler with the basic api.
|
|
* @author jpt
|
|
* @abstract
|
|
* @package Protocol
|
|
* TODO: finish this shit
|
|
*/
|
|
abstract class Protocol_AbstractProtocolHandler {
|
|
|
|
/**
|
|
* Parses incoming data, returns a ProtocolObject
|
|
* @param string $data
|
|
* @return mixed instance of Protocol_AbstractProtocolContentObject
|
|
*/
|
|
abstract public function parse($data);
|
|
|
|
}
|
|
?>
|