c++/EEDB/SPStreams/FederatedSourceStream.cpp
/***** add_seed_peers
  Description: adds Peer objects to be used for seeding the federated search.
               Search either uses source_ids or "keywords" to generate list of 
               specific sources to feed data into this SourceStream.
*****/
add_seed_peers
Description: adds Peer objects to be used for seeding the federated search.
Search either uses source_ids or "keywords" to generate list of
specific sources to feed data into this SourceStream.
add_seed_peers Description : adds Peer objects to be used for seeding the federated search . Search either uses source_ids or " keywords " to generate list of specific sources to feed data into this SourceStream .
void  EEDB::SPStreams::FederatedSourceStream::add_seed_peer(EEDB::Peer* peer) {
  if(peer == NULL) { return; }
  _seed_peers.push_back(peer);
  peer->federation_depth(1);
  if(_source_stream) { _source_stream->release(); _source_stream=NULL; }
}
void EEDB :: SPStreams :: FederatedSourceStream :: add_seed_peer ( EEDB :: Peer * peer ) { if ( peer == NULL ) { return ; } _seed_peers . push_back ( peer ) ; peer -> federation_depth ( 1 ) ; if ( _source_stream ) { _source_stream -> release ( ) ; _source_stream = NULL ; } }
add_seed_peers
Description: adds Peer objects to be used for seeding the federated search.
add_seed_peers Description : adds Peer objects to be used for seeding the federated search .