* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] Peer <u>%s</u> has not replyed our %s request within %d retries.<br />\n",
$msgArray['this']->__toString(),
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] Peer <u>%s</u> has reached the maximum of <u>%d</u> authorization tries. Disconnecting peer....<br />\n",
$msgArray['this']->__toString(),
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] Peer <u>%s</u> is no longer responding. Trying to disconnect the peer...<br />\n",
$msgArray['this']->__toString(),
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] Not awaiting command %s from peer %s<br />\n",
$msgArray['this']->__toString(),
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] Raw message received: %s<br />\n",
$msgArray['this']->__toString(),
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] socket_accept() has failed. Reason: <u>%s</u> (Code: <u>%d</u>)",
$msgArray['this']->__toString(),
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] socket_select() has failed. Reason: <u>%s</u> (Code: <u>%d</u>)",
$msgArray['this']->__toString(),
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] Socket konnte nicht an %s:%d gebunden werden. Reason: <u>%s</u> (Code: <u>%d</u>)",
$msgArray['this']->__toString(),
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] socket_connect() has failed. Reason: <u>%s</u> (Code: <u>%d</u>)",
$msgArray['this']->__toString(),
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] Socket konnte nicht erstellt werden. Reason: <u>%s</u> (Code: <u>%d</u>)",
$msgArray['this']->__toString(),
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] socket_listen() has failed. Reason: <u>%s</u> (Code: <u>%d</u>)",
$msgArray['this']->__toString(),
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] Socket konnte nicht konfiguriert werden. Reason: <u>%s</u> (Code: <u>%d</u>)",
$msgArray['this']->__toString(),
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] Connection lost to peer <u>%s</u>. Error message: <u>%s</u> (Code: %d)<br />\n",
$msgArray['this']->__toString(),
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] Peer-IP hat sich von <u>%s</u> auf <u>%s</u> geändert.<br />\n",
$msgArray['this']->__toString(),
* @param $code Code number for the exception
* @return void
*/
- public final function __construct ($msgArray, $code) {
+ public final function __construct (array $msgArray, $code) {
// Construct the message
$message = sprintf("[%s:%d] Peer-Socket ist ungültig. Datentyp: <u>%s</u><br />\n",
$msgArray['this']->__toString(),