|
JMACS | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISpi
service-provider interface, to be implemented by the JMACS Server vendor.
DiClients.getSpi()
Method Summary | |
---|---|
IDiClient |
newDiClient(String diName,
IDiDriver driver,
Object driverLock,
String monitorGuiClassname,
String controlsGuiClassname,
Serializable constants)
creates DI-client. |
IDiClient |
newDiClient(String diName,
IDiDriver driver,
String monitorGuiClassname,
String controlsGuiClassname,
Serializable constants)
creates DI-client. |
IDiClient |
newDiClient(String diName,
String driverClassname,
String monitorGuiClassname,
String controlsGuiClassname,
Serializable constants)
creates DI-client. |
Method Detail |
---|
IDiClient newDiClient(String diName, String driverClassname, String monitorGuiClassname, String controlsGuiClassname, Serializable constants) throws InterruptedException, IOException
diName
- fully-qualified domain.like.name of device interface, used
to place the device interface in a hierarchydriverClassname
- fully-qualified name of class impl'ting IDiDriver
and having public constructor optionally taking an argument of
type Object, corr'ding to constantsmonitorGuiClassname
- ditto, but impl'ting IMonitorGui
, or
nullcontrolsGuiClassname
- ditto, but impl'ting IControlsGui
, or
null (in which case commands will be limited to Strings
submitted from a commandline)constants
- passed to the constructors of the named classes if
non-null
InterruptedException
IOException
IDiClient newDiClient(String diName, IDiDriver driver, String monitorGuiClassname, String controlsGuiClassname, Serializable constants) throws InterruptedException, IOException
driver
- The caller undertakes not to access this subsequently.
InterruptedException
IOException
IDiClient newDiClient(String diName, IDiDriver driver, Object driverLock, String monitorGuiClassname, String controlsGuiClassname, Serializable constants) throws InterruptedException, IOException
driver
- acquire driverLock before accessing this subsequently
InterruptedException
IOException
|
JMACS | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |