[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:
Jan Philipp Timme
2010-12-08 16:47:04 +00:00
parent 2b8263a49d
commit dee3333578
10 changed files with 114 additions and 17 deletions
+2 -1
View File
@@ -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();
}
}