UnboundedExternalStream.st
author claus
Fri, 11 Aug 1995 05:05:04 +0200
changeset 384 cc3d110ea879
parent 379 5b5a130ccd09
child 530 07d0bce293c9
permissions -rw-r--r--
.

"
 COPYRIGHT (c) 1994 by Claus Gittinger
	      All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"

ExternalStream subclass:#UnboundedExternalStream
       instanceVariableNames:''
       classVariableNames:''
       poolDictionaries:''
       category:'Streams-External'
!

UnboundedExternalStream comment:'
COPYRIGHT (c) 1994 by Claus Gittinger
	      All Rights Reserved

$Header: /cvs/stx/stx/libbasic/UnboundedExternalStream.st,v 1.5 1995-08-11 03:04:35 claus Exp $
'!

!UnboundedExternalStream class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 1994 by Claus Gittinger
	      All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
!

version
"
$Header: /cvs/stx/stx/libbasic/UnboundedExternalStream.st,v 1.5 1995-08-11 03:04:35 claus Exp $
"
!

documentation
"
    This class provides common protocol for all external streams which are
    unbound in size (i.e. have no end). Examples of these are PipeStream,
    Sockets, TTYStreams etc.
"
! !

!UnboundedExternalStream methodsFor:'redefind basic'!

size
    "report an error that this stream has no concept of size"

    self shouldNotImplement
!

position
    "report an error that this stream has no concept of position"

    self shouldNotImplement
!

position:anInteger
    "report an error that this stream has no concept of position"

    self shouldNotImplement
! !