Package org.eclipse.ecf.discovery
Class ServiceTypeContainerEvent
- java.lang.Object
-
- org.eclipse.ecf.discovery.ServiceTypeContainerEvent
-
- All Implemented Interfaces:
IContainerEvent,Event,IServiceTypeEvent
public class ServiceTypeContainerEvent extends Object implements IServiceTypeEvent
Base event implementation ofIServiceEvent. Subclasses may be created as appropriate.
-
-
Field Summary
Fields Modifier and Type Field Description protected IDcontainerIDprotected IServiceTypeIDserviceType
-
Constructor Summary
Constructors Constructor Description ServiceTypeContainerEvent(IServiceTypeID serviceType, ID containerID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDgetLocalContainerID()Get ID of local discovery container (the discovery container receiving this event).IServiceTypeIDgetServiceTypeID()Get service type id for this service type event.StringtoString()
-
-
-
Field Detail
-
serviceType
protected IServiceTypeID serviceType
-
containerID
protected ID containerID
-
-
Constructor Detail
-
ServiceTypeContainerEvent
public ServiceTypeContainerEvent(IServiceTypeID serviceType, ID containerID)
-
-
Method Detail
-
getLocalContainerID
public ID getLocalContainerID()
Description copied from interface:IContainerEventGet ID of local discovery container (the discovery container receiving this event).- Specified by:
getLocalContainerIDin interfaceIContainerEvent- Returns:
- ID for local container. Will not return
null.
-
getServiceTypeID
public IServiceTypeID getServiceTypeID()
Description copied from interface:IServiceTypeEventGet service type id for this service type event.- Specified by:
getServiceTypeIDin interfaceIServiceTypeEvent- Returns:
- IServiceTypeID for this service type event. Will not be
null.
-
-