Peter Donald wrote:
[snip]
> >interface Startable { // better name, anyone?
> >     void start() throws StartException;
> >     void stop() throws StopException; // new
> >}
> 
> -1 Some things are startable without being stoppable and vice versa.

  startable but not stoppable == dangerous, -1
  stoppable but not startable == autonomous and manageable, 0

  We could define this as:

      interface Stoppable 
      { 
            void stop() throws StopException;
      }

      interface Startable : Stoppable 
      {
          void start() throws StartException;
      }

Cheers, Steve.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to