Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## things.common.tools
Class StoplightMonitor

    java.lang.Object
      things.common.tools.StoplightMonitor

    public class StoplightMonitor

extends java.lang.Object

This is a stoplight monitor.

Version:
  1.0

  Version History

      EPG - Adapted from another project- 27 JUN 05

Author:
  Erich P. Gatejen

Constructor Summary
`StoplightMonitor()`

Method Summary
`void` | `stoplight()` Approach the stoplight.
`void` | `turnGreen()` Turn on the stoplight green.
`void` | `turnRed()` Turn on the stoplight red.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StoplightMonitor

    public StoplightMonitor()

Method Detail

### stoplight

    public void stoplight()

  Approach the stoplight. If the light is red, the thread will stop.

### turnGreen

    public void turnGreen()

  Turn on the stoplight green.

### turnRed

    public void turnRed()

  Turn on the stoplight red.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Things.