[TASK] Implemented the ProtocolHandler things so it works again.
[TASK] Added some comments. [TASK] Added TODOs concerning refactoring and more functions that are needed.
This commit is contained in:
@@ -61,16 +61,18 @@ class Client_ClientManager {
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO: Implement a function that is able to count active connections instead of sockets!
|
||||
* @see Connection_ConnectionPool
|
||||
* @return int
|
||||
*/
|
||||
public function countConnections() {
|
||||
return $this->connectionPool->countConnections();
|
||||
public function countSockets() {
|
||||
return $this->connectionPool->countSockets();
|
||||
}
|
||||
|
||||
/**
|
||||
* Main worker function.
|
||||
* Processes incoming data, calls clients and much more.
|
||||
* TODO: refactor this? (split it into handleFoobar() functions)
|
||||
* @return void
|
||||
*/
|
||||
public function work() {
|
||||
|
||||
Reference in New Issue
Block a user