| 
JMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface IDi.IDriver
device-interface (DI) driver. Implementations are not required to be thread-safe.
| Nested Class Summary | |
|---|---|
static interface | 
IDi.IDriver.IClient
wishes to be able to do all of the things which an IDi.IDriver.ISampler, IDi.IDriver.ISubscriber and
 IDi.IDriver.IControl can do. | 
static interface | 
IDi.IDriver.IContext
driver context.  | 
static interface | 
IDi.IDriver.IControl
wishes to be able to send commands to other DIs.  | 
static interface | 
IDi.IDriver.ISampler
wishes to be able to request the status of another DI.  | 
static interface | 
IDi.IDriver.ISubscriber
wishes to be able to request to receive status samples from other DIs automatically.  | 
| Method Summary | |
|---|---|
 Serializable | 
executeCmd(Serializable cmd,
           boolean control,
           String diName)
executes cmd.  | 
 Serializable | 
getStatus()
samples the device's status at regular intervals.  | 
| Method Detail | 
|---|
Serializable executeCmd(Serializable cmd,
                        boolean control,
                        String diName)
                        throws Exception
control - true if client has control (as opposed to
 monitor-only) accessdiName - fully-qualified name of the client DI, or null if
 called from a UI client
IResultHandler.
Exception - See IExceptionHandler.Serializable getStatus()
DatagramPacket.
RuntimeException - The device interface will be deemed fatally broken.
  | 
JMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||