2010-11-27 19:59:11 +00:00
|
|
|
<?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
|
2010-11-28 00:04:35 +00:00
|
|
|
* @return mixed instance of Protocol_AbstractProtocolContentObject
|
2010-11-27 19:59:11 +00:00
|
|
|
*/
|
|
|
|
abstract public function parse($data);
|
|
|
|
|
|
|
|
}
|
|
|
|
?>
|