All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anotheria.anoprise.eventservice.EventService Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 4.0.0
Show newest version
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