net.anotheria.anoprise.eventservice.EventService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ano-prise Show documentation
Show all versions of ano-prise Show documentation
Collection of utils for different enterprise class projects. Among other stuff contains
Caches, Mocking, DualCrud, MetaFactory and SessionDistributorService. Visit https://opensource.anotheria.net for details.
package net.anotheria.anoprise.eventservice;
/**
* TODO please remined another to comment this class
* @author another
*/
public interface EventService {
/**
* Returns the event channel for the given participant. If the channel is not yet available it will be created on the fly.
* @param channelName name of the channel.
* @param participant
* @return
*/
EventChannel obtainEventChannel(String channelName, EventServiceParticipant participant);
/**
* This method is used to obtain an event channel of the specified type.
* @param channelName
* @param proxyType
* @return
*/
EventChannel obtainEventChannel(String channelName, ProxyType proxyType);
void addListener(EventServiceListener listener);
void removeListener(EventServiceListener listener);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy