public class UsbModemDevice extends AbstractUsbDevice implements ModemDevice
| Constructor and Description |
|---|
UsbModemDevice(AbstractUsbDevice usbDevice) |
UsbModemDevice(String vendorId,
String productId,
String manufacturerName,
String productName,
String usbBusNumber,
String usbDevicePath) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBlockDev(String blockDev) |
void |
addTtyDev(String ttyDev) |
boolean |
equals(Object obj) |
List<String> |
getBlockDevs() |
List<String> |
getSerialPorts() |
List<String> |
getTtyDevs() |
int |
hashCode() |
boolean |
removeBlockDev(String blockDev) |
boolean |
removeTtyDev(String ttyDev) |
String |
toString() |
getManufacturerName, getProductId, getProductName, getUsbBusNumber, getUsbDevicePath, getUsbPort, getVendorIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetManufacturerName, getProductNamepublic UsbModemDevice(String vendorId, String productId, String manufacturerName, String productName, String usbBusNumber, String usbDevicePath)
public UsbModemDevice(AbstractUsbDevice usbDevice)
public List<String> getSerialPorts()
getSerialPorts in interface ModemDevicepublic void addTtyDev(String ttyDev)
public void addBlockDev(String blockDev)
public boolean removeTtyDev(String ttyDev)
public boolean removeBlockDev(String blockDev)
public int hashCode()
hashCode in class AbstractUsbDevicepublic boolean equals(Object obj)
equals in class AbstractUsbDeviceCopyright © 2013. All Rights Reserved.