| Modifier and Type | Field and Description |
|---|---|
| private ByteBuffer | |
| private long | |
| private static Udev | |
| private UdevListener[] | |
| private Thread |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private native void | |
| private native int | |
| private native int | |
| private native long | |
| private native int | |
| pack-priv synchronized void | |
| pack-priv synchronized void | |
| pack-priv static synchronized Udev | |
| private Map | |
| public void |
| buffer | back to summary |
|---|---|
| private ByteBuffer buffer | |
| fd | back to summary |
|---|---|
| private long fd | |
| instance | back to summary |
|---|---|
| private static Udev instance | |
| listeners | back to summary |
|---|---|
| private UdevListener[] listeners | |
| thread | back to summary |
|---|---|
| private Thread thread | |
| Udev | back to summary |
|---|---|
| private Udev() throws IOException Creates a new Udev object | |
| _close | back to summary |
|---|---|
| private native void _close(long fd) | |
| _getPropertiesLength | back to summary |
|---|---|
| private native int _getPropertiesLength(ByteBuffer buffer) | |
| _getPropertiesOffset | back to summary |
|---|---|
| private native int _getPropertiesOffset(ByteBuffer buffer) | |
| _open | back to summary |
|---|---|
| private native long _open() throws IOException | |
| _readEvent | back to summary |
|---|---|
| private native int _readEvent(long fd, ByteBuffer buffer) throws IOException | |
| addListener | back to summary |
|---|---|
| pack-priv synchronized void addListener(UdevListener listener) | |
| close | back to summary |
|---|---|
| pack-priv synchronized void close() Closes the udev monitor connection | |
| getInstance | back to summary |
|---|---|
| pack-priv static synchronized Udev getInstance() Gets the singleton Udev object | |
| readEvent | back to summary |
|---|---|
| private Map Reads data from the udev monitor. Blocks until data is available | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |