c++/EEDB/SPStreams/MultiMergeStream.cpp
/***** stream_peers
  Description: stream all known peers from database
*****/
stream_peers
Description: stream all known peers from database
stream_peers Description : stream all known peers from database
void EEDB::SPStreams::MultiMergeStream::_stream_peers() {
  vector<EEDB::SPStreams::MultistreamElement*>::iterator   it;
  for(it = _sourcestreams.begin(); it != _sourcestreams.end(); it++) {
    if((*it)->stream == NULL) { continue; }
    (*it)->stream->stream_peers();
  }
  _init_active_streams();  
}
void EEDB :: SPStreams :: MultiMergeStream :: _stream_peers ( ) { vector < EEDB :: SPStreams :: MultistreamElement * > :: iterator it ; for ( it = _sourcestreams . begin ( ) ; it != _sourcestreams . end ( ) ; it ++ ) { if ( ( * it ) -> stream == NULL ) { continue ; } ( * it ) -> stream -> stream_peers ( ) ; } _init_active_streams ( ) ; }
stream_peers
Description: stream all known peers from database
stream_peers Description : stream all known peers from database
//prepares for next_in_stream() calls