示例#1
0
bool Output::subscribe(Channel* ch) {
	if ( ch == NULL ) return false;

	addPublisher(ch);
	ch->isInterested(this, true);

	return true;
}
 void subscribeTo(rlog::RLogNode *node)
 {
   addPublisher(node) ;
   node->isInterested(this, true) ;
 }