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

jadex.base.service.awareness.discovery.relay.IRelayAwarenessService Maven / Gradle / Ivy

Go to download

The Jadex platform base package contains functionality useful for constructing platforms.

The newest version!
package jadex.base.service.awareness.discovery.relay;

import jadex.commons.future.IFuture;

/**
 *  A service to be called from the relay transport to
 *  handle disconnects and reconnects.
 */
public interface IRelayAwarenessService
{
	/**
	 *  Let the awareness now that the transport connected to an address.
	 *  @param address	The relay address.
	 */
	public IFuture	connected(String address);

	/**
	 *  Let the awareness now that the transport was disconnected from an address.
	 *  @param address	The relay address.
	 */
	public IFuture	disconnected(String address);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy