|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Channel
A Channel is used in the notification framework to
publish an event.
If an event occurs and if there is a subscription matching this
event, the subscription is associated with a channel and the
channel is invoked to publish this event.
| Method Summary | |
|---|---|
String |
getName()
The unique name of the channel. |
String |
getType()
The type of the channel. |
void |
publish(ChannelContext context,
Subscription subscription,
org.osgi.service.event.Event event)
Publish the event through this channel. |
| Method Detail |
|---|
void publish(ChannelContext context,
Subscription subscription,
org.osgi.service.event.Event event)
throws Exception
context - The channel context.subscription - The subscription that triggered this publishevent - The event that occured.
ExceptionString getName()
String getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||