]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/streams/input/class_
The name "Pointer" was to general, better use "FilePointer" to make it clear
[core.git] / inc / classes / main / streams / input / class_
index f72b979dfc01a6ae48f0dfb0b17cacc4bf800d99..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 BaseStream implements InputStreamable {
+class ???InputStream extends BaseStream implements InputStream {
        /**
         * Protected constructor
         *
@@ -37,7 +37,7 @@ class ???InputStream extends BaseStream 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 BaseStream 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);
        }
 }