]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/interfaces/response/class_Responseable.php
Just a space removed
[shipsimu.git] / inc / classes / interfaces / response / class_Responseable.php
index d8fdaee1f11411fcbb97b4972418bfa422e897ab..c7d21032d2223c6be2d3907e0be498e011c01c55 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * An interface for responses
  *
- * @author             Roland Haeder <webmaster@mxchange.org>
+ * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
  * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.ship-simu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -56,7 +56,16 @@ interface Responseable extends FrameworkInterface {
         * @throws      ResponseHeadersAlreadySentException             Thrown if headers are
         *                                                                                                      already sent
         */
-       function flushResponse($force=false);
+       function flushBuffer($force=false);
+
+       /**
+        * Adds a fatal message id to the response. The added messages can then be
+        * processed and outputed to the world
+        *
+        * @param       $messageId      The message id we shall add
+        * @return      void
+        */
+       function addFatalMessage ($messageId);
 }
 
 //