|
Lafros MaCS 1.2r1
|
|
com/lafros/macs/pd/an/AnyPd.scala]
trait
CmdInterpreter
extends (java.io.Serializable, Boolean, scala.Option[java.lang.String], CmdInterpreterContextType) => scala.Option[java.io.Serializable]
class CmdInterpreter extends pd.CmdInterpreter {
def apply(cmd: Serializable,
control: Boolean,
diName: Option[String],
context: Context) = {
... return Some(serialisableResult)
... return None
... throw new CmdNotRecognisedException(cmd)
... throw new CmdUsageException(advice)
}
}
Context will be tailored to the Pd variant being extended.| Type Summary | |
protected type
|
Context
alias for the CmdInterpreterContext defined by the particular Pd variant.
|
| Methods inherited from scala.Function4 | |
| scala.Function4.apply (abstract), scala.Function4.toString, scala.Function4.curry |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Type Details |
|
Lafros MaCS 1.2r1
|
|