Package org.eclipse.ecf.discovery
Class ServiceContainerEvent
- java.lang.Object
- 
- org.eclipse.ecf.discovery.ServiceContainerEvent
 
- 
- All Implemented Interfaces:
- IContainerEvent,- Event,- IServiceEvent
 
 public class ServiceContainerEvent extends Object implements IServiceEvent Base event implementation ofIServiceEvent. Subclasses may be created as appropriate.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IDcontainerIDprotected IServiceInfoinfo
 - 
Constructor SummaryConstructors Constructor Description ServiceContainerEvent(IServiceInfo info, ID containerID)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IDgetLocalContainerID()Get ID of local discovery container (the discovery container receiving this event).IServiceInfogetServiceInfo()Get the service info associated with this eventStringtoString()
 
- 
- 
- 
Field Detail- 
infoprotected IServiceInfo info 
 - 
containerIDprotected ID containerID 
 
- 
 - 
Constructor Detail- 
ServiceContainerEventpublic ServiceContainerEvent(IServiceInfo info, ID containerID) 
 
- 
 - 
Method Detail- 
getServiceInfopublic IServiceInfo getServiceInfo() Description copied from interface:IServiceEventGet the service info associated with this event- Specified by:
- getServiceInfoin interface- IServiceEvent
- Returns:
- IServiceInfo any info associated with this event. May be null.
 
 - 
getLocalContainerIDpublic ID getLocalContainerID() Description copied from interface:IContainerEventGet ID of local discovery container (the discovery container receiving this event).- Specified by:
- getLocalContainerIDin interface- IContainerEvent
- Returns:
- ID for local container. Will not return null.
 
 
- 
 
-