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