Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0e52f79929e16ad0f14c20dcddd7a7dee13404f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/****************************************************************************
 * Copyright (c) 2009 Markus Alexander Kuppe.
 *
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 *
 * Contributors:
 *     Markus Alexander Kuppe (ecf-dev_eclipse.org <at> lemmster <dot> de) - initial API and implementation
 *
 * SPDX-License-Identifier: EPL-2.0
 *****************************************************************************/
package org.eclipse.ecf.provider.discovery;

import org.eclipse.ecf.core.identity.ID;
import org.eclipse.ecf.discovery.IServiceTypeEvent;
import org.eclipse.ecf.discovery.ServiceTypeContainerEvent;

public class CompositeServiceTypeContainerEvent extends ServiceTypeContainerEvent implements IServiceTypeEvent {

	private final ID origLocalContainerId;

	public CompositeServiceTypeContainerEvent(final IServiceTypeEvent event, final ID connectedId) {
		super(event.getServiceTypeID(), connectedId);
		origLocalContainerId = event.getLocalContainerID();
	}

	/**
	 * @return the origLocalContainerId
	 */
	public ID getOriginalLocalContainerId() {
		return origLocalContainerId;
	}
}

Back to the top