ExternalStream.st
changeset 22697 e840d7085b3e
parent 22694 5d16e0dd2bdc
child 22709 ac3bd46e88b9
equal deleted inserted replaced
22696:7b933d672ea3 22697:e840d7085b3e
  1860     "return the signal raised on I/O with closed streams"
  1860     "return the signal raised on I/O with closed streams"
  1861 
  1861 
  1862     ^ StreamNotOpenError
  1862     ^ StreamNotOpenError
  1863 ! !
  1863 ! !
  1864 
  1864 
       
  1865 !ExternalStream class methodsFor:'accessing'!
       
  1866 
       
  1867 openStreams
       
  1868     "answer a collection of open Streams having this class"
       
  1869 
       
  1870     |openStreams|
       
  1871 
       
  1872     openStreams := OrderedCollection new.
       
  1873     Lobby keysDo:[:eachStream| 
       
  1874                     (eachStream isKindOf:self) ifTrue:[
       
  1875                         openStreams add:eachStream
       
  1876                     ]
       
  1877                 ].
       
  1878 
       
  1879     ^ openStreams
       
  1880 
       
  1881     "
       
  1882         self openStreams
       
  1883         Socket openStreams
       
  1884         NonPositionableExternalStream openStreams
       
  1885     "
       
  1886 
       
  1887     "Created: / 24-04-2018 / 09:23:33 / stefan"
       
  1888 ! !
       
  1889 
  1865 !ExternalStream class methodsFor:'defaults'!
  1890 !ExternalStream class methodsFor:'defaults'!
  1866 
  1891 
  1867 bufferSizeForBulkFileCopy
  1892 bufferSizeForBulkFileCopy
  1868     "return the size of buffer used when copying big files/buld data from one stream to another.
  1893     "return the size of buffer used when copying big files/buld data from one stream to another.
  1869      Due to a bug on older Windows systems, the default used
  1894      Due to a bug on older Windows systems, the default used