Oracle Java Wireless Client

com.oracle.deviceaccess.gpio
Interface PortListener

All Superinterfaces:
PeripheralEventListener

public interface PortListener
extends PeripheralEventListener

The PortListener interface defines methods for getting notified of a GPIO port value change.
A PortListener can be registered using the GPIOPort.setInputListener(com.oracle.deviceaccess.gpio.PortListener) method.

See Also:
GPIOPort

Method Summary
 void valueChanged(PortEvent event)
          Invoked when a GPIO port's value has changed.
 

Method Detail

valueChanged

void valueChanged(PortEvent event)
Invoked when a GPIO port's value has changed.

Parameters:
event - the event that occurred.

Oracle Java Wireless Client

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