jadex.bridge.IConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-platform-bridge Show documentation
Show all versions of jadex-platform-bridge Show documentation
Jadex bridge is a base package for kernels and platforms, i.e., it is used by both and provides commonly used interfaces and classes for active components and their management.
package jadex.bridge;
import java.util.Map;
/**
* Base interface for all Jadex connections (streams).
*/
public interface IConnection
{
/**
* Get the connection id.
* @return The connection id.
*/
public int getConnectionId();
/**
* Get the initiator.
* @return The initiator.
*/
public IComponentIdentifier getInitiator();
/**
* Get the participant.
* @return The participant.
*/
public IComponentIdentifier getParticipant();
/**
* Close the connection.
*/
// todo: make IFuture ?
public void close();
/**
* Get the non-functional properties of the connection.
*/
public Map getNonFunctionalProperties();
}