jadex.base.service.awareness.discovery.relay.IRelayAwarenessService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-platform-base Show documentation
Show all versions of jadex-platform-base Show documentation
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);
}