Updated from hub code.
authorRoland Haeder <roland@mxchange.org>
Fri, 17 Oct 2014 18:01:57 +0000 (20:01 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 17 Oct 2014 18:01:57 +0000 (20:01 +0200)
Signed-off-by: Roland H├Ąder <roland@mxchange.org>
inc/classes/interfaces/handler/protocol/class_ProtocolHandler.php

index e06b695..ed8c11e 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * A protocol handler interface
+ * An interface for protocol handlers
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface ProtocolHandler extends Handleable {
+       /**
+        * Getter for port number to satify ProtocolHandler
+        *
+        * @return      $port   The port number
+        */
+       function getPort ();
+
+       /**
+        * Getter for protocol name
+        *
+        * @return      $protocol       Name of used protocol
+        */
+       function getProtocolName ();
 }
 
 // [EOF]