Interface | Description |
---|---|
AsyncErrorHandler<P extends Device<? super P>> |
The
AsyncErrorHandler interface defines methods for getting notified of errors of
asynchronous I/O operations. |
BufferAccess<B extends java.nio.Buffer> |
The
BufferAccess interface provides methods for getting access to the device
(or the driver thereof) I/O buffers, if any. |
Device<P extends Device<? super P>> |
The
Device interface represents devices in the system. |
DeviceConfig<P extends Device<? super P>> |
The
DeviceConfig class is a tagging interface for all device configuration
classes. |
DeviceConfig.HardwareAddressing |
The
HardwareAddressing interface defines an abstraction of an hardware addressing
information common on different platforms. |
DeviceDescriptor<P extends Device<? super P>> |
The
DeviceDescriptor interface encapsulates the identifying and descriptive
information of a device as well as its registered configuration (hardware addressing
parameters, and static and dynamic configuration parameters). |
DeviceEventListener |
The
DeviceEventListener interface is a tagging interface that all event listeners
must implement. |
InputRoundListener<P extends Device<? super P>,B extends java.nio.Buffer> |
The
InputRoundListener interface defines methods for getting notified of the completion
of an input round. |
OutputRoundListener<P extends Device<? super P>,B extends java.nio.Buffer> |
The
OutputRoundListener interface defines methods for getting notified of the completion
of an output round. |
RegistrationListener<P extends Device<? super P>> |
The
RegistrationListener interface defines methods for getting notified of the
registration and unregistration of devices. |
Transactional |
The
Transactional interface provides methods for demarcating a communication transaction. |
Class | Description |
---|---|
DeviceEvent<P extends Device<? super P>> |
The
DeviceEvent class encapsulates events fired by or on behalf of a
device. |
DeviceManager |
The
DeviceManager class provides methods for opening and registering
devices that can then be handled as Device instances. |
DeviceMgmtPermission |
The
DeviceMgmtPermission class defines permissions for registering and unregistering devices as
well as opening devices using their registered configurations. |
DevicePermission |
The
DevicePermission abstract class is the superclass of all device permissions. |
RegistrationEvent<P extends Device<? super P>> |
The
RegistrationEvent class encapsulates device registration and unregistration
conditions. |
RoundCompletionEvent<P extends Device<? super P>,B extends java.nio.Buffer> |
The
RoundCompletionEvent class encapsulates the completion condition of a round of I/O
operation. |
Exception | Description |
---|---|
ClosedDeviceException |
Thrown by an instance of
Device to indicate that an operation is attempted on a
device which is closed. |
DeviceAlreadyExistsException |
Thrown by the
DeviceManager to indicate that a device is already
registered for the specified ID. |
DeviceException |
Thrown to indicate that a general exception occurred on a device operation.
|
DeviceNotFoundException |
Thrown to indicate that there is no device matching the provided device numerical ID, name or properties.
|
InvalidDeviceConfigException |
Thrown to indicate that the provided device configuration is invalid/is not supported.
|
UnavailableDeviceException |
Thrown by the
DeviceManager to indicate that a device cannot be open because it
is already open or that a device cannot be acquired for exclusive access. |
UnsupportedAccessModeException |
Thrown by the
DeviceManager to indicate that the looked-up device cannot be
opened in the requested access mode. |
UnsupportedDeviceTypeException |
Thrown by the
DeviceManager to indicate permanent unavailability of the looked up
device. |
Device
sub-interfaces. Devices are registered
under a device ID and with optionally a name and a set of properties.
Unless otherwise noted, passing a null
argument to a constructor or method in any class
or interface in this package will cause a NullPointerException
to be thrown.Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved.
Legal Notices