]> git.mxchange.org Git - core.git/commitdiff
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 e06b69569f017837f4d4f707b8f1e0556a9ebeb1..ed8c11e3856106628dea77d91010364b031d60a5 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]