jadex.application.runtime
Interface ISpace

All Known Implementing Classes:
AbstractEnvironmentSpace, AGRSpace, ContinuousSpace2D, Grid2D, Space2D

public interface ISpace

Interface for spaces.


Method Summary
 void componentAdded(IComponentIdentifier cid)
          Called from application component, when a component was added.
 void componentRemoved(IComponentIdentifier cid)
          Called from application component, when a component was removed.
 void initSpace(IApplication context, MSpaceInstance config, IValueFetcher fetcher)
          Initialize a space.
 void terminate()
          Terminate the space.
 

Method Detail

initSpace

void initSpace(IApplication context,
               MSpaceInstance config,
               IValueFetcher fetcher)
               throws Exception
Initialize a space. Called once, when the space is created.

Throws:
Exception

componentAdded

void componentAdded(IComponentIdentifier cid)
Called from application component, when a component was added.

Parameters:
cid - The id of the added component.
type - The logical type name.

componentRemoved

void componentRemoved(IComponentIdentifier cid)
Called from application component, when a component was removed.

Parameters:
cid - The id of the removed component.

terminate

void terminate()
Terminate the space. Called, when the application component terminates.



Copyright © 2010. All Rights Reserved.