public interface EventAdmin
Modifier and Type | Method and Description |
---|---|
void |
postEvent(Event event)
Initiate asynchronous delivery of an event.
|
void |
sendEvent(Event event)
Initiate synchronous delivery of an event.
|
void postEvent(Event event)
event
- The event to send to all listeners which subscribe to the
topic of the event.SecurityException
- If the caller does not have
TopicPermission[topic,PUBLISH]
for the topic
specified in the event.void sendEvent(Event event)
event
- The event to send to all listeners which subscribe to the
topic of the event.SecurityException
- If the caller does not have
TopicPermission[topic,PUBLISH]
for the topic
specified in the event.Copyright © 2006–2017 OSGi Alliance. All rights reserved.