Search in sources :

Example 1 with ServicesBundle

use of org.onosproject.ui.impl.topo.util.ServicesBundle in project onos by opennetworkinglab.

the class Topo2TrafficMessageHandler method init.

@Override
public void init(UiConnection connection, ServiceDirectory directory) {
    super.init(connection, directory);
    appId = directory.get(CoreService.class).registerApplication(MY_APP_ID);
    services = new ServicesBundle(directory);
    traffic2 = new Traffic2Monitor(services, this);
    topoSession = ((UiWebSocket) connection).topoSession();
}
Also used : ServicesBundle(org.onosproject.ui.impl.topo.util.ServicesBundle)

Example 2 with ServicesBundle

use of org.onosproject.ui.impl.topo.util.ServicesBundle in project onos by opennetworkinglab.

the class TopologyViewMessageHandlerBase method init.

@Override
public void init(UiConnection connection, ServiceDirectory directory) {
    super.init(connection, directory);
    services = new ServicesBundle(directory);
    setVersionString(directory);
}
Also used : ServicesBundle(org.onosproject.ui.impl.topo.util.ServicesBundle)

Aggregations

ServicesBundle (org.onosproject.ui.impl.topo.util.ServicesBundle)2