oracle.edge.driver
Interface Device
- All Superinterfaces:
- EdgeExtension
- All Known Subinterfaces:
- EventDevice
- All Known Implementing Classes:
- AbstractDevice, AbstractEventDevice
- public interface Device
- extends EdgeExtension
Device interface to represent a symbolic device such as readers, lights etc..
Method Summary |
boolean |
isAlive()
Provide the operation status of this device. |
void |
processInstruction(Event CurInstruction)
Process each incoming instruction event.<br/> DriverManager will call this function upon each matched incoming event received from edge client or UI. |
isAlive
public boolean isAlive()
throws DeviceException
- Provide the operation status of this device. <p/>
-
- Throws:
DeviceException
processInstruction
public void processInstruction(Event CurInstruction)
throws DeviceException
- Process each incoming instruction event.<br/>
DriverManager
will call this function upon each matched incoming event received from edge client or UI. <p/>
-
- Parameters:
CurInstruction
- instruction to be processed. //@return insturction process response
- Throws:
DeviceException
- exception to be thown upon failure for processing instruction.
Copyright © 2004 Oracle Corporation. All Rights Reserved.