|
JMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jmacs.pd.ProxyDevice
public class ProxyDevice
IDevice impl'n to be extended by all programmable-device definitions.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jmacs.pd.IDevice |
|---|
IDevice.IConstants, IDevice.IDriver, IDevice.IStatus |
| Field Summary |
|---|
| Fields inherited from interface org.jmacs.pd.IDevice |
|---|
STOP_PROGRAM |
| Constructor Summary | |
|---|---|
protected |
ProxyDevice(IDiDriver.IContext.IFull context)
creates new instance. |
|
ProxyDevice(IDiDriver.IContext.IFull context,
String diName)
creates new instance. |
| Method Summary | |
|---|---|
protected Object |
createProxyDriver(Class driverInterface)
for use to provide access to driver itself in the form of a dynamic proxy. |
Serializable |
executeCmd(Serializable cmd)
impl'ts superclass. |
IProgInfo |
getProgInfo()
impl'ts superclass. |
Serializable |
getStatus()
impl'ts superclass. |
IStatusEtc |
getStatusEtc()
impl'ts superclass. |
void |
startProgram(IProgram prog)
impl'ts superclass. |
void |
stopProgram()
impl'ts superclass. |
void |
subscribe(boolean b)
impl'ts superclass. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyDevice(IDiDriver.IContext.IFull context,
String diName)
diName - See IDiDriver.IContext.protected ProxyDevice(IDiDriver.IContext.IFull context)
| Method Detail |
|---|
public Serializable executeCmd(Serializable cmd)
throws DiDriverException,
ClientDiException
executeCmd in interface IDeviceDiDriverException
ClientDiException
public void startProgram(IProgram prog)
throws ClientDiException
startProgram in interface IDeviceClientDiException
public void stopProgram()
throws ClientDiException
stopProgram in interface IDeviceClientDiException
public Serializable getStatus()
throws ClientDiException
getStatus in interface IDeviceClientDiException
public IProgInfo getProgInfo()
throws ClientDiException
getProgInfo in interface IDeviceClientDiException
public IStatusEtc getStatusEtc()
throws ClientDiException
getStatusEtc in interface IDeviceClientDiException
public void subscribe(boolean b)
throws ClientDiException
subscribe in interface IDeviceClientDiExceptionprotected Object createProxyDriver(Class driverInterface)
|
JMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||