[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:
@@ -138,6 +138,7 @@ class Connection_ConnectionPool {
|
||||
throw new Exception_GeneralException("Unknown select type: '" . $selectedType . "'", 1289737080);
|
||||
break;
|
||||
}
|
||||
//Put the ConnectionHandler into the array. We'll return this for further operations.
|
||||
$tempArray[$selectedType][] = $connectionHandler;
|
||||
}
|
||||
}
|
||||
@@ -176,7 +177,7 @@ class Connection_ConnectionPool {
|
||||
* @see Socket_SocketPool
|
||||
* @return int
|
||||
*/
|
||||
public function countConnections() {
|
||||
public function countSockets() {
|
||||
return $this->socketPool->countSockets();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user