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, getVendorId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getManufacturerName, getProductName
public UsbModemDevice(String vendorId, String productId, String manufacturerName, String productName, String usbBusNumber, String usbDevicePath)
public UsbModemDevice(AbstractUsbDevice usbDevice)
public List<String> getSerialPorts()
getSerialPorts
in interface ModemDevice
public 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 AbstractUsbDevice
public boolean equals(Object obj)
equals
in class AbstractUsbDevice
Copyright © 2014. All Rights Reserved.