]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/streams/input/class_
Opps, forgot this.
[core.git] / inc / classes / main / streams / input / class_
index 81fb8ed65dd7a428b7413e354ecbb066b83bae0a..0bae09ff7bbe905f7dbdc56d9bb05142c4390a80 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/>.
  */
-class ???InputStream extends BaseInputStream implements InputStreamable {
+class ???InputStream extends BaseStream implements InputStream {
        /**
         * Protected constructor
         *
@@ -37,7 +37,7 @@ class ???InputStream extends BaseInputStream implements InputStreamable {
         *
         * @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();
 
@@ -53,7 +53,7 @@ class ???InputStream extends BaseInputStream implements InputStreamable {
         * @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);
        }
 }