Reverted last commit, better use filter pattern?!
authorRoland Häder <roland@mxchange.org>
Sun, 5 Aug 2012 00:18:04 +0000 (00:18 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 5 Aug 2012 00:18:04 +0000 (00:18 +0000)
inc/classes/interfaces/streams/input/class_InputStreamable.php
inc/classes/interfaces/streams/output/class_OutputStreamable.php

index fdeb657..a61fdf0 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 InputStreamable 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);
+interface InputStreamable extends Streamable {
 }
 
 // [EOF]
index b2844b0..dc9b999 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 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);
+interface OutputStreamable extends Streamable {
 }
 
 // [EOF]