Scala Monitoring and Control System API
com.lafros.macs

object Di

[source: com/lafros/macs/Di.scala]

object Di
extends AnyRef
companion.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Class Summary
trait Driver extends NonPollableDriver
device-specific component of a device interface, interpreting commands and returning status samples. An impl'n is required in order to create a Di (using Di.Factory.instance).
trait Factory extends AnyRef
for creating Di instances. The following occurs when this class is loaded:
  1. properties will be loaded from macs-di.properties. If this file is not found in the class-path, or if the properties could not be loaded, a RuntimeException will be thrown.
  2. a security manager will be set, using the policy file, macs-di.policy, which must also be in the class-path.
trait NonPollableDriver extends AnyRef
as for Di.Driver, but for use where the device has no status.
trait Observer extends Observer
for implementation by observers (which should be registered with the Di in question using its subscribe method).
Object Summary
object Factory extends AnyRef
companion.
object State extends scala.Enumeration
of the Di.

Copyright 2009 Latterfrosken Software Development Limited