X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Finterfaces%2Fsocket%2Fclass_SocketTag.php;h=9e65c96c5ddf82ce7abb19b193d6fb4e12805fe0;hb=e0bb6bee909082fa6408887106037520eddeeea1;hp=b9a41d6d597dee50bdd7a571dd800bcc5275e52b;hpb=c13fedc3ee06651ae33665a6690d2e6d5382715c;p=hub.git diff --git a/application/hub/interfaces/socket/class_SocketTag.php b/application/hub/interfaces/socket/class_SocketTag.php index b9a41d6d5..9e65c96c5 100644 --- a/application/hub/interfaces/socket/class_SocketTag.php +++ b/application/hub/interfaces/socket/class_SocketTag.php @@ -26,9 +26,11 @@ interface SocketTag extends FrameworkInterface { * "Getter" for a valid socket resource from given packae data. * * @param $packageData Raw package data + * @param $connectionType Type of connection, can be 'incoming', 'outgoing', 'server' or default * @return $socketResource Socket resource + * @throws InvalidConnectionTypeException If the provided connection type is not valid */ - function getSocketFromPackageData (array $packageData); + function getSocketFromPackageData (array $packageData, $connectionType = NULL); } // [EOF]