]> git.mxchange.org Git - hub.git/commitdiff
Moved a method for private-protected-public sort order
authorRoland Häder <roland@mxchange.org>
Sun, 17 Apr 2011 22:09:50 +0000 (22:09 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 17 Apr 2011 22:09:50 +0000 (22:09 +0000)
application/hub/main/helper/connection/class_BaseConnectionHelper.php

index 4c68a02512540e21ae54a98b593cdadce9136a74..5ff412c4489bb797de50b62db51ad915bad05206 100644 (file)
@@ -138,17 +138,6 @@ class BaseConnectionHelper extends BaseHubHelper implements Registerable, Protoc
                $this->address = $address;
        }
 
-       /**
-        * "Accept" a visitor by simply calling it back
-        *
-        * @param       $visitorInstance        A Visitor instance
-        * @return      void
-        */
-       protected final function accept (Visitor $visitorInstance) {
-               // Just call the visitor
-               $visitorInstance->visitConnectionHelper($this);
-       }
-
        /**
         * "Getter" for raw data from a package array. A fragmenter is used which
         * will returns us only so many raw data which fits into the back buffer.
@@ -187,6 +176,17 @@ class BaseConnectionHelper extends BaseHubHelper implements Registerable, Protoc
                return $rawDataChunk;
        }
 
+       /**
+        * "Accept" a visitor by simply calling it back
+        *
+        * @param       $visitorInstance        A Visitor instance
+        * @return      void
+        */
+       protected final function accept (Visitor $visitorInstance) {
+               // Just call the visitor
+               $visitorInstance->visitConnectionHelper($this);
+       }
+
        /**
         * Sends raw package data to the recipient
         *