]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/handler/protocol/class_ProtocolHandler.php
Updated from hub code.
[core.git] / 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]