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();
}
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);
}
Aggregations