X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Fregistry%2Fsocket%2Fclass_RegisterableSocket.php;h=1f197295ca92dab0aa1086538d2873448a59d8a5;hp=62ac187492ad642141ce3e2b3ac6306c1f715f02;hb=ec670451fafdd675c346232d6580c8f291a23d3e;hpb=0bdfbb707f1b09062183f3977e8abf2197730527 diff --git a/inc/classes/interfaces/registry/socket/class_RegisterableSocket.php b/inc/classes/interfaces/registry/socket/class_RegisterableSocket.php index 62ac1874..1f197295 100644 --- a/inc/classes/interfaces/registry/socket/class_RegisterableSocket.php +++ b/inc/classes/interfaces/registry/socket/class_RegisterableSocket.php @@ -26,7 +26,7 @@ interface RegisterableSocket extends Registerable { * Checks whether given socket resource is registered. If $socketResource is * FALSE only the instance will be checked. * - * @param $protocolInstance An instance of a ProtocolHandler class + * @param $protocolInstance An instance of a HandleableProtocol class * @param $socketResource A valid socket resource * @return $isRegistered Whether the given socket resource is registered */ @@ -35,7 +35,7 @@ interface RegisterableSocket extends Registerable { /** * Registeres given socket for listener or throws an exception if it is already registered * - * @param $protocolInstance An instance of a ProtocolHandler class + * @param $protocolInstance An instance of a HandleableProtocol class * @param $socketResource A valid socket resource * @return void * @throws SocketAlreadyRegisteredException If the given socket is already registered @@ -45,7 +45,7 @@ interface RegisterableSocket extends Registerable { /** * Getter for given listener's socket resource * - * @param $protocolInstance An instance of a ProtocolHandler class + * @param $protocolInstance An instance of a HandleableProtocol class * @return $socketResource A valid socket resource * @throws NoSocketRegisteredException If the requested socket is not registered */ @@ -55,7 +55,7 @@ interface RegisterableSocket extends Registerable { * "Getter" for protocol/connection instance from given package data * * @param $packageData Raw package data - * @return $protocolInstance An instance of a ProtocolHandler class + * @return $protocolInstance An instance of a HandleableProtocol class */ function getHandlerInstanceFromPackageData (array $packageData); }