public interface EPNContainer
| Modifier and Type | Method and Description |
|---|---|
Channel |
getChannel(Network network,
String source,
String dest)
This method returns the channel associated with the supplied
destination.
|
Channel |
getChannel(String subject)
This method returns the channel associated with the supplied
subject.
|
Channel |
getNotificationChannel(Network network,
String subject)
This method returns the notification channel associated with
the supplied network and source.
|
void |
send(EventList events,
List<Channel> channels)
This method sends the supplied events to the supplied list
of channels.
|
Channel getChannel(Network network, String source, String dest) throws Exception
network - The networksource - The source nodedest - The destination nodeException - Channel cannot be createdChannel getNotificationChannel(Network network, String subject) throws Exception
network - The networksubject - The subjectException - Channel cannot be createdChannel getChannel(String subject) throws Exception
subject - The subject on which the events will be publishedException - Channel cannot be createdvoid send(EventList events, List<Channel> channels) throws Exception
events - The eventschannels - The list of channelsException - Failed to send the eventsCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.