massim.framework
Interface UniqueSimulationAgent

All Superinterfaces:
SimulationAgent
All Known Implementing Classes:
XMLSocketSimulationAgent

public interface UniqueSimulationAgent
extends SimulationAgent

This interface should be implemented by any SimulationAgent that is somehow unique. It provides a method to retrieve some object that identifies that agent. The deeper meaning is that this object can be used to identify an agent via java.lang.Object.equals. This can be used to grant an agent certain rights or to treat it in a special way.


Method Summary
 java.lang.Object getIdentifier()
           
 
Methods inherited from interface massim.framework.SimulationAgent
concurrentGetAction, getAction, remove
 

Method Detail

getIdentifier

java.lang.Object getIdentifier()


Copyright © 2011. All Rights Reserved.