[TASK] Cleanup in the ClientManager and added an AbstractProtocolHandler.
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user