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

jadex.micro.examples.messagequeue.replicated.IMessageQueueReplicationService Maven / Gradle / Ivy

Go to download

The Jadex micro applications package contains several example applications, benchmarks and testcases using micro agents.

There is a newer version: 4.0.267
Show newest version
package jadex.micro.examples.messagequeue.replicated;

import jadex.commons.future.ISubscriptionIntermediateFuture;
import jadex.micro.examples.messagequeue.Event;

/**
 * Message queue interface for the replication of distributed message queues.
 */
public interface IMessageQueueReplicationService 
{
	/**
	 * Subscribe to a specific topic. New events that fit to the topic are forwarded to all replication subscribers as intermediate results. A subscribe can unsubscribe by terminating the future.
	 * 
	 * @param topic The topic.
	 * @return The events.
	 */
//	@Timeout(Timeout.NONE)
	public ISubscriptionIntermediateFuture subscribeForReplication(String topic);

	/**
	 * Returns the services unique Id.
	 * 
	 * @return the service Id.
	 */
	public String getId();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy