| 
JMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jmacs.pd.Device.Proxy
public static class Device.Proxy
to be extended by the class ~.mydevice.MyDevice, as part of a programmable-device definition.
| Constructor Summary | |
|---|---|
protected  | 
Device.Proxy(IDi.IDriver.IClient.IContext context)
creates new instance.  | 
protected  | 
Device.Proxy(IDi.IDriver.IClient.IContext 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)
executes cmd.  | 
 Device.IConstants | 
getConstants()
returns constants.  | 
 ProgInfo | 
getProgInfo()
returns program info as of the last sampling boundary.  | 
 Status_ProgInfo | 
getStatus_ProgInfo()
returns device status and program info as of the last sampling boundary.  | 
 Status_ProgInfo | 
getStatus_ProgInfo(long[] timestamp)
as above, but also returns timestamp.  | 
 Device.IStatus | 
getStatus()
returns device status as of the last sampling boundary.  | 
 Device.IStatus | 
getStatus(long[] timestamp)
as above, but also returns timestamp.  | 
 void | 
startProgram(IProgram prog)
starts the specified program.  | 
 void | 
stopProgram()
IProgram.terminate()s the currently running program. | 
 void | 
subscribe(boolean b)
causes the status to be obtained automatically.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
protected Device.Proxy(IDi.IDriver.IClient.IContext context,
                       String diName)
diName - See IDi.IDriver.ISampler.IContext.protected Device.Proxy(IDi.IDriver.IClient.IContext context)
| Method Detail | 
|---|
public Serializable executeCmd(Serializable cmd)
                        throws CmdException,
                               ClientDiException
CmdException
ClientDiException
public void startProgram(IProgram prog)
                  throws ClientDiException
IProgram.terminate()ed.
ClientDiException
public void stopProgram()
                 throws ClientDiException
IProgram.terminate()s the currently running program. Does nothing if
 no program is running.
ClientDiException
public Device.IStatus getStatus()
                         throws ClientDiException
ClientDiException
public Device.IStatus getStatus(long[] timestamp)
                         throws ClientDiException
ClientDiException
public ProgInfo getProgInfo()
                     throws ClientDiException
ClientDiException
public Status_ProgInfo getStatus_ProgInfo()
                                   throws ClientDiException
ClientDiException
public Status_ProgInfo getStatus_ProgInfo(long[] timestamp)
                                   throws ClientDiException
ClientDiException
public Device.IConstants getConstants()
                               throws ClientDiException
ClientDiException
public void subscribe(boolean b)
               throws ClientDiException
ClientDiExceptionprotected Object createProxyDriver(Class driverInterface)
  | 
JMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||