Scala Monitoring and Control System API
com.lafros.macs.ControlsGui

trait Context

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

trait Context
extends AnyRef
submits commands.
Method Summary
abstract def submitCmd (cmd : java.io.Serializable) : Unit
submits cmd. Since this will be called from the Swing dispatch thread, it must return immediately; any exception thrown subsequently, or result, must therefore be handled indirectly, by having the ControlsGui also impl't ResultHandler and/or ExceptionHandler; any cmd submitted before the previous one has been executed will be discarded.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def submitCmd(cmd : java.io.Serializable) : Unit
submits cmd. Since this will be called from the Swing dispatch thread, it must return immediately; any exception thrown subsequently, or result, must therefore be handled indirectly, by having the ControlsGui also impl't ResultHandler and/or ExceptionHandler; any cmd submitted before the previous one has been executed will be discarded.


Copyright 2009 Latterfrosken Software Development Limited