Oracle Application Server Wireless Java API Reference
B14043-01


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..


Field Summary

 

Fields inherited from interface oracle.edge.common.EdgeExtension
DEVICE_DRIVER_TYPE, DISPATCHER_TYPE, FILTER_TYPE

 

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.

 

Methods inherited from interface oracle.edge.common.EdgeExtension
destroy, getDescription, getName, getVersion, init, start, stop

 

Method Detail

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.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.