Squeak Class Documentation category index | class index  
 
DummyStream
  category: System-Object Storage
  superclass: Stream
  subclasses:

The purpose of this class is to absorb all steam messages and do nothing. This is so ReferenceStream can pretend to write on it while traversing all objects it would normally write. We need to know what those object are. 8/17/96 tk

instance methods
  as yet unclassified
  binary
close
nextInt32Put:
nextNumber:put:
nextPut:
nextPutAll:
nextStringPut:
originalContents
position
position:
skip:
subclassResponsibility

class methods
  as yet unclassified
  on:

instance methods
  as yet unclassified top  
 

binary

do nothing


 

close

do nothing


 

nextInt32Put:

do nothing


 

nextNumber:put:

do nothing


 

nextPut:

do nothing


 

nextPutAll:

do nothing


 

nextStringPut:

do nothing


 

originalContents


 

position

Return any random number. Here is where the real lying begins. We are a DummyStream afterall. 8/17/96 tk


 

position:

Pretend to position wherever the caller says!


 

skip:

Do nothing.


 

subclassResponsibility

Do nothing. Most messages to class Stream are defined as subclassResponsibility. Just accept them. 8/17/96 tk


class methods
  as yet unclassified top  
 

on:

Return a new DummyStream instance, ignoring the argument.