]> git.mxchange.org Git - core.git/blobdiff - inc/main/classes/listener/class_
Moved some code from TcpListener and made it a bit more generic, maybe just enough.
[core.git] / inc / main / classes / listener / class_
index d09db71d6875060a0304a470513ded8806f11496..f4ac2cb03b0b11f0d9da4f5853454700081303b2 100644 (file)
@@ -30,6 +30,9 @@ class ???Listener extends BaseListener implements Listenable {
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
+
+               // Set the protocol to !!!
+               $this->setProtocolName('!!!');
        }
 
        /**
@@ -85,24 +88,6 @@ class ???Listener extends BaseListener implements Listenable {
                $this->partialStub('Need to implement this method.') {
        }
 
-       /**
-        * Getter for listen address
-        *
-        * @return      $listenAddress  The address this listener should listen on
-        */
-       public function getListenAddress () {
-               $this->partialStub('Need to implement this method.') {
-       }
-
-       /**
-        * Getter for listen port
-        *
-        * @return      $listenPort             The port this listener should listen on
-        */
-       public function getListenPort () {
-               $this->partialStub('Need to implement this method.') {
-       }
-
        /**
         * Getter for connection type
         *
@@ -111,15 +96,6 @@ class ???Listener extends BaseListener implements Listenable {
        public function getConnectionType () {
                $this->partialStub('Need to implement this method.') {
        }
-
-       /**
-        * Getter for peer pool instance
-        *
-        * @return      $poolInstance   The peer pool instance we shall set
-        */
-       public function getPoolInstance () {
-               $this->partialStub('Need to implement this method.') {
-       }
 }
 
 // [EOF]