Top Description Methods
com.sun.glass.ui.monocle

pack-priv Interface UdevListener

Imports
java.util.Map

A UdevListener is registered with a Udev when the Udev is created. The listener is then called on the event thread when udev events are avaialable.

Method Summary

Modifier and TypeMethod and Description
public void
udevEvent(String
The udev action, usually "add", "remove", "change", "online" or "offline.
action
,
Map<String, String>
a map of key/value pairs describing the event. These are the key/value pairs received from udev.
event
)

Called when a udev event is available.

Method Detail

udevEventback to summary
public void udevEvent(String action, Map<String, String> event)

Called when a udev event is available. Called on the runnable processor provided to the Udev.

Parameters
action:String

The udev action, usually "add", "remove", "change", "online" or "offline.

event:Map<String, String>

a map of key/value pairs describing the event. These are the key/value pairs received from udev.