Esempio n. 1
0
//--------------------------------------------------------------
void ofApp::onRouteRemoved( Spacebrew::Route & e ){
    if ( e.getPublisher().clientName == spacebrew.getConfig()->clientName ){
        bConnected = false;
    }
}
Esempio n. 2
0
//--------------------------------------------------------------
void testApp::onRouteRemoved( Spacebrew::Route & e ){
    cout << "removed route "<<e.getPublisher().name << " to " << e.getSubscriber().name << endl;
}
Esempio n. 3
0
//--------------------------------------------------------------
void ofApp::onRouteAdded( Spacebrew::Route & e ){
    if ( e.getPublisher().clientName == spacebrew.getConfig()->clientName ){
        route = e;
        bConnected = true;
    }
}
Esempio n. 4
0
//--------------------------------------------------------------
void testApp::onRouteAdded( Spacebrew::Route & e ){
    cout << "got a new route "<<e.getPublisher().name << " to " << e.getSubscriber().name << endl;
    cout << "got a new route "<<e.getPublisher().clientName << " to " << e.getSubscriber().clientName << endl;
}