Example #1
0
 /**
  * Add the listener as a receiver of OrbitModelListener events from this model.
  *
  * @param listener the listener to register for receiving events.
  */
 public void addOrbitModelListener(final OrbitModelListener listener) {
   MESSAGE_CENTER.registerTarget(listener, this, OrbitModelListener.class);
 }
Example #2
0
 /**
  * Add the specified listener as a receiver of corrector supply events from this agent.
  *
  * @param listener The listener to receive corrector supply events.
  */
 public void addCorrectorEventListener(final CorrectorSupplyListener listener) {
   MESSAGE_CENTER.registerTarget(listener, this, CorrectorSupplyListener.class);
 }