Oracle Java Wireless Client

com.oracle.deviceaccess
Class PeripheralEvent

java.lang.Object
  extended by com.oracle.deviceaccess.PeripheralEvent
Direct Known Subclasses:
MMIOEvent, PinEvent, PortEvent

public class PeripheralEvent
extends java.lang.Object

The PeripheralEvent class encapsulates events fired by or on behalf of a peripheral device. An event may correspond to an hardware interrupt or to some software signal.

When an event burst occurs - that is more events occurred than can be handled - events may be coalesced. Coalescing of events is platform and peripheral-dependent.


Field Summary
protected  Peripheral peripheral
          The Peripheral instance that fired this event or which this event was fired.
 
Constructor Summary
PeripheralEvent()
           
 
Method Summary
 Peripheral getPeripheral()
          Returns the Peripheral instance that fired this event or for which this event was fired.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

peripheral

protected Peripheral peripheral
The Peripheral instance that fired this event or which this event was fired.

Constructor Detail

PeripheralEvent

public PeripheralEvent()
Method Detail

getPeripheral

public Peripheral getPeripheral()
Returns the Peripheral instance that fired this event or for which this event was fired.

Returns:
the Peripheral instance that fired this event.

Oracle Java Wireless Client

Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.