[TASK] Cleanup in the ClientManager and added an AbstractProtocolHandler.

This commit is contained in:
Jan Philipp Timme
2010-11-27 19:59:11 +00:00
parent 952af43b97
commit f3b1354aa2
2 changed files with 24 additions and 17 deletions
@@ -0,0 +1,19 @@
<?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 Protocol_ProtocolObejct
*/
abstract public function parse($data);
}
?>