]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/streams/input/class_
Better this way
[core.git] / inc / classes / main / streams / input / class_
index 81fb8ed65dd7a428b7413e354ecbb066b83bae0a..108f48f23b64142c6067e369aaf466799c7dc99d 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class ???InputStream extends BaseInputStream implements InputStreamable {
+class ???InputStream extends BaseStream implements InputStreamable {
        /**
         * Protected constructor
         *
        /**
         * Protected constructor
         *
@@ -37,7 +37,7 @@ class ???InputStream extends BaseInputStream implements InputStreamable {
         *
         * @return      $streamInstance         An instance of this node class
         */
         *
         * @return      $streamInstance         An instance of this node class
         */
-       public final static function create???InputStream (Requestable $requestInstance) {
+       public final static function create???InputStream () {
                // Get a new instance
                $streamInstance = new ???InputStream();
 
                // Get a new instance
                $streamInstance = new ???InputStream();
 
@@ -53,7 +53,7 @@ class ???InputStream extends BaseInputStream implements InputStreamable {
         * @throws      UnsupportedOperationException   If this method is called
         */
        public function streamData ($data) {
         * @throws      UnsupportedOperationException   If this method is called
         */
        public function streamData ($data) {
-               $this->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
+               self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 }
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 }