Uwe would be very dissapointed if we didn't write at least a paragraph or two with buzzwords regarding connectors. The conceptual use is that you connect a data source and a data target and let the Shuffler move data between them, as data gets available. For technical fluff, like how unattended it can be, how threaded it is and how good it is, refer to Per. The sources are listed in the manual
@decl void add_source( mixed source, int|void start, int|void length ); Add a new source to the list of data sources. The data from the sources will be sent in order.
If start and length are not specified, the whole source will be sent, if start but not length is specified, the whole source, excluding the first @[start] bytes will be sent.
Currently supported sources @dl @item String An ordinary 8-bit wide pike string. @item Memory An initialized instance of the System.Memory class. @item NormalFile Stdio.File instance pointing to a normal file. @item Stream Stdio.File instance pointing to a stream of some kind (network socket, named pipe, stdin etc). @item Pike-stream Stdio.File lookalike with read callback support (set_read_callback and set_close_callback). @enddl
/ Martin Nilsson (hehe Torgny)
Previous text:
2002-12-06 21:26: Subject: More CHANGES
The hard case for today will be Shuffler. Here is a suggestion, but it really doesn't say anything about what it's good for so I'd liuke something better:
o Shuffler A fast data shuffler
/ Peter Bortas