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

jadex.bridge.IConnection Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 4.0.267
Show newest version
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();
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy