Rewrote both interfaces to implement streamNetworkData()
[core.git] / inc / classes / interfaces / streams / output / class_OutputStreamable.php
index dc9b9995b1c970a00278039c01edfc75da880f1f..b2844b03d8542998e6e99ed1ae6b2023093cbbd9 100644 (file)
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-interface OutputStreamable extends Streamable {
+interface OutputStreamable extends FrameworkInterface {
+       /**
+        * Streams the data and maybe does something to it
+        *
+        * @param       $data                           The data (string mostly) to "stream"
+        * @param       $handlerInstance        An instance of a Networkable class
+        * @return      $data                           The data (string mostly) to "stream"
+        */
+       function streamNetworkData ($data, Networkable $handlerInstance);
 }
 
 // [EOF]