public static interface DeviceConfig.HardwareAddressing
HardwareAddressing
interface defines an abstraction of an
hardware addressing information common on different platforms.
When a device's HardwareAddressing
contains both a specific controller number
(see getControllerNumber
) and a specific controller name (see getControllerName
)
a compliant implementation of this specification MUST only use the controller number
for addressing the device and for permission checks.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getControllerName()
Gets the controller name (such as a device file name on UNIX
systems).
|
int |
getControllerNumber()
Gets the controller number.
|
int getControllerNumber()
UNASSIGNED
if no specific value is requested or no actual value is
assigned (see
Unassigned, Default or Unused Parameter Values).java.lang.String getControllerName()
null
if no specific value is
requested or no actual value is assigned (see
Unassigned, Default or Unused Parameter Values).Copyright © 2012, 2015, Oracle and/or its affiliates. All rights reserved.
Legal Notices