jadex.base.service.message.streams.IAbstractConnectionHandler 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.message.streams;
import java.util.Map;
import jadex.commons.future.IFuture;
/**
*
*/
public interface IAbstractConnectionHandler
{
/**
* Set the connection (needed as connection and handler need each other).
* The connections uses this method to set itself as connection in their constructor.
*/
public void setConnection(final AbstractConnection con);
// /**
// * Get the connection.
// * @return The connection.
// */
// public AbstractConnection getConnection();
/**
* Send init message.
*/
public IFuture sendInit();
/**
*
*/
public void notifyInited();
/**
* Called from connection.
* Initiates closing procedure (is different for initiator and participant).
*/
public IFuture doClose();
/**
* Get the non-functional properties.
* @return The non-functional properties.
*/
public Map getNonFunctionalProperties();
}