Search in sources :

Example 1 with EndpointDiscoveryView

use of org.eclipse.ecf.remoteserviceadmin.ui.endpoint.EndpointDiscoveryView in project ecf by eclipse.

the class DiscoveryComponent method endpointChanged.

@Override
public void endpointChanged(EndpointEvent event, String filter) {
    EndpointDiscoveryView view = null;
    List<EndpointEvent> h = null;
    synchronized (this) {
        h = history;
        view = discoveryView;
    }
    if (view != null)
        view.handleEndpointChanged(event);
    else if (h != null)
        h.add(event);
}
Also used : EndpointEvent(org.osgi.service.remoteserviceadmin.EndpointEvent) EndpointDiscoveryView(org.eclipse.ecf.remoteserviceadmin.ui.endpoint.EndpointDiscoveryView)

Aggregations

EndpointDiscoveryView (org.eclipse.ecf.remoteserviceadmin.ui.endpoint.EndpointDiscoveryView)1 EndpointEvent (org.osgi.service.remoteserviceadmin.EndpointEvent)1