From: Gabe W. <gw...@wa...> - 2002-01-28 16:47:07
|
I'm thinking that the best way to replace all the datastream complexity stuff is to simply use (for reading) an iterator interface which would produce a series of BufferSegment objects (frame.BufferSegment). It wouldn't be, strictly speaking, an iterator, because it would sometimes return nothing when the "stream" wasn't closed but nothing was available (ie non-blocking read). But otherwise an iterator. Thoughts? Do we have to worry about writing to these 'datastreams'? This should be a lot easier than doing the whole stream thing... -Gabe -- Gabe Wachob gw...@wa... Personal http://www.wachob.com CTO, WiredObjects http://www.wiredobjects.com |