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

class ConstantlessPd

[source: com/lafros/macs/pd/ConstantlessPd.scala]

abstract class ConstantlessPd
extends AnyPd with StatusEtc
to be extended by PDs having no constants.
See Also
Pd
Author
Rob Dickens
Type Summary
type CmdInterpreterContextType
type of the context argument passed to the apply method which must be implemented when implementing the CmdInterpreter.
type ProgramContextType
type of argument passed to the init method of Programs.
Method Summary
def createDi (name : java.lang.String, statusFactory : StatusFactory) : Di
acquire lock on statusFactory prior to any subsequent interaction with it.
def createDi (name : java.lang.String, statusFactoryClass : java.lang.Class[StatusFactory]) : Di
avoids exposing status factory instance.
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
protected trait CmdInterpreterContext extends AnyCmdInterpreterContext with StatefulContext
suitably specialised version.
protected trait ProgramContext extends AnyProgramContext with StatefulContext
suitably specialised version.
class Proxy (context : Context, diName : scala.Option[java.lang.String]) extends ProxyHavingStatus
provides access to the PD from another DI.
Type Details
type CmdInterpreterContextType
type of the context argument passed to the apply method which must be implemented when implementing the CmdInterpreter.

type ProgramContextType
type of argument passed to the init method of Programs.

Method Details
def createDi(name : java.lang.String, statusFactoryClass : java.lang.Class[StatusFactory]) : Di
avoids exposing status factory instance.

def createDi(name : java.lang.String, statusFactory : StatusFactory) : Di
acquire lock on statusFactory prior to any subsequent interaction with it.


Copyright 2009 Latterfrosken Software Development Limited