public class EventServiceImpl extends Object implements EventService, EventManager
| Constructor and Description |
|---|
EventServiceImpl(org.osgi.framework.BundleContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(EventListener listener)
Add this listener to the manager
|
void |
dispose() |
protected void |
eventStored(Event event) |
void |
publishEvent(Event event)
Publish the provided event
|
void |
removeEventListener(EventListener listener) |
protected void |
setStorage(Storage service) |
public EventServiceImpl(org.osgi.framework.BundleContext context)
throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxExceptionprotected void eventStored(Event event)
public void dispose()
protected void setStorage(Storage service)
public void publishEvent(Event event)
EventServicepublishEvent in interface EventServiceevent - the event to publishpublic void addEventListener(EventListener listener)
EventManagerIf the listener was already added the request will be ignored.
If the listener was added to the manager, all current known events have to be provided to the listener.
addEventListener in interface EventManagerlistener - the listener to addpublic void removeEventListener(EventListener listener)
removeEventListener in interface EventManagerCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.