org.almendra.commons.threads
Interface ISimpleActiveObject

All Known Implementing Classes:
AbstractScheduler, ActiveObject, ActiveSchedulingObject, ApplicationScheduler, ArbitratedScheduler, Arbitrator, CommandScheduler, Node, PriorityCommandScheduler, SchedulerAnchor, SupremeScheduler, SystemScheduler

public interface ISimpleActiveObject

Defines a minimal interface to be implemented by every active object.

Author:
Oliver Plohmann

Method Summary
 boolean isActive()
          Answer whether the thread that runs the active object is running or not.
 void start()
          Start the thread that runs the active object.
 void stop()
          Stop the thread that runs the active object.
 

Method Detail

start

void start()
Start the thread that runs the active object.


stop

void stop()
Stop the thread that runs the active object.


isActive

boolean isActive()
Answer whether the thread that runs the active object is running or not.

Returns: