]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/registry/socket/class_RegisterableSocket.php
A much better name is HandleableProtocol.
[core.git] / inc / classes / interfaces / registry / socket / class_RegisterableSocket.php
index 62ac187492ad642141ce3e2b3ac6306c1f715f02..1f197295ca92dab0aa1086538d2873448a59d8a5 100644 (file)
@@ -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);
 }