]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/helper/connection/udp/class_UdpConnectionHelper.php
New singleton-factories introduced:
[hub.git] / application / hub / main / helper / connection / udp / class_UdpConnectionHelper.php
index 01761f96a60d8e393ec2ac376b25a90bcc01f3c8..db230642b6a66287cf7eac7a7e0cf1686b9b094b 100644 (file)
@@ -22,7 +22,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class UdpConnectionHelper extends BaseConnectionHelper implements Helper {
+class UdpConnectionHelper extends BaseConnectionHelper implements ConnectionHelper {
        /**
         * Protected constructor
         *
@@ -43,7 +43,18 @@ class UdpConnectionHelper extends BaseConnectionHelper implements Helper {
         * @return      $socketResource         Socket resource
         */
        public static function createConnectionFromPackageData (array $packageData) {
-               die();
+               die(__METHOD__ . ': Unfinished method, packageData[]=' . count($packageData) . "\n");
+       }
+
+       /**
+        * Do the shutdown sequence for this connection helper
+        *
+        * @return      void
+        * @throws      SocketShutdownException         If the current socket could not be shut down
+        * @todo        We may want to implement a filter for ease notification of other objects like our pool
+        */
+       public function doShutdown () {
+               $this->partialStub('Please implement this method.');
        }
 }