]> git.mxchange.org Git - hub.git/commitdiff
Moved getter/setter to proper location.
authorRoland Haeder <roland@mxchange.org>
Fri, 17 Oct 2014 21:21:25 +0000 (23:21 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 17 Oct 2014 22:49:14 +0000 (00:49 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/class_BaseHubSystem.php

index fef2f6ebb80c671b434666d85777f3d8329e684a..73708c702385d7b6c9486ff8f7e6d8916157cd18 100644 (file)
@@ -472,6 +472,25 @@ class BaseHubSystem extends BaseFrameworkSystem {
                $this->protocolName = $protocolName;
        }
 
+       /**
+        * Getter for protocol name
+        *
+        * @return      $protocolName   Name of used protocol
+        */
+       public final function getProtocolName () {
+               return $this->protocolName;
+       }
+
+       /**
+        * Setter for protocol name
+        *
+        * @param       $protocolName   Name of used protocol
+        * @return      void
+        */
+       protected final function setProtocolName ($protocolName) {
+               $this->protocolName = $protocolName;
+       }
+
        /**
         * Constructs a callable method name from given socket error code. If the
         * method is not found, a generic one is used.
@@ -703,25 +722,6 @@ class BaseHubSystem extends BaseFrameworkSystem {
                // Return result
                return $stateName;
        }
-
-       /**
-        * Getter for protocol name
-        *
-        * @return      $protocolName   Name of used protocol
-        */
-       public final function getProtocolName () {
-               return $this->protocolName;
-       }
-
-       /**
-        * Setter for protocol name
-        *
-        * @param       $protocolName   Name of used protocol
-        * @return      void
-        */
-       protected final function setProtocolName ($protocolName) {
-               $this->protocolName = $protocolName;
-       }
 }
 
 // [EOF]