public final class Collector extends Object implements org.osgi.service.event.EventHandler, at.ac.ait.hbs.homer.core.common.systemstate.SystemStateListener
| Constructor and Description |
|---|
Collector() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy method called by container.
|
void |
handleEvent(org.osgi.service.event.Event event) |
void |
handleSystemStateRemove(at.ac.ait.hbs.homer.core.common.scenario.SystemState state) |
void |
handleSystemStateSet(at.ac.ait.hbs.homer.core.common.scenario.SystemState state,
at.ac.ait.hbs.homer.core.common.scenario.SystemState stateOld) |
void |
init()
Init method called by container
|
void |
setBlackBoard(at.ac.ait.hbs.homer.core.common.systemstate.SystemStateBlackboard blackBoard)
Set the reference to the
SystemStateBlackboard instance |
void |
setConfigurationService(at.ac.ait.hbs.homer.core.common.configuration.ConfigurationService configurationService)
Set the reference to the
ConfigurationService instance |
void |
setDataAccess(at.ac.ait.hbs.homer.core.common.DataAccess dataAccess)
Set the reference to the
DataAccess instance |
void |
setEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)
Set the reference to the
EventAdmin instance |
void |
setTopics(String topics)
Set the topics that should be handled
|
public void init()
public void destroy()
public final void setBlackBoard(at.ac.ait.hbs.homer.core.common.systemstate.SystemStateBlackboard blackBoard)
SystemStateBlackboard instanceblackBoard - public final void setConfigurationService(at.ac.ait.hbs.homer.core.common.configuration.ConfigurationService configurationService)
ConfigurationService instanceconfigurationService - public final void setDataAccess(at.ac.ait.hbs.homer.core.common.DataAccess dataAccess)
DataAccess instancedataAccess - public final void setEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)
EventAdmin instanceeventAdmin - public final void setTopics(String topics)
topics - public void handleEvent(org.osgi.service.event.Event event)
handleEvent in interface org.osgi.service.event.EventHandlerpublic void handleSystemStateSet(at.ac.ait.hbs.homer.core.common.scenario.SystemState state,
at.ac.ait.hbs.homer.core.common.scenario.SystemState stateOld)
handleSystemStateSet in interface at.ac.ait.hbs.homer.core.common.systemstate.SystemStateListenerpublic void handleSystemStateRemove(at.ac.ait.hbs.homer.core.common.scenario.SystemState state)
handleSystemStateRemove in interface at.ac.ait.hbs.homer.core.common.systemstate.SystemStateListenerCopyright © 2017. All rights reserved.