]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/handler/network/udp/class_UdpNetworkPackageHandler.php
New singleton-factories introduced:
[hub.git] / application / hub / main / handler / network / udp / class_UdpNetworkPackageHandler.php
index 60f6fbe4707902c50c429503033ac3a03590491d..84e98fcb6262f6a182407ffe17a064b0ed6b8b08 100644 (file)
@@ -49,7 +49,7 @@ class UdpNetworkPackageHandler extends BaseNetworkPackageHandler implements Netw
        }
 
        /**
-        * Processes a package from given resource. This is mostly useful for TCP
+        * Processes raw data from given resource. This is mostly useful for TCP
         * package handling and is implemented in the TcpListener class
         *
         * @param       $resource       A valid resource identifier
@@ -57,7 +57,7 @@ class UdpNetworkPackageHandler extends BaseNetworkPackageHandler implements Netw
         * @throws      InvalidResourceException        If the given resource is invalid
         * @todo        0%
         */
-       public function processResourcePackage ($resource) {
+       public function processResourceRawData ($resource) {
                // Check the resource
                if (!is_resource($resource)) {
                        // Throw an exception
@@ -65,7 +65,7 @@ class UdpNetworkPackageHandler extends BaseNetworkPackageHandler implements Netw
                } // END - if
 
                // Implement processing here
-               $this->partialStub('Please implement this method.');
+               $this->partialStub('Please implement this method. resource=' . $resource);
        }
 }