public class SerialPortInfo extends Object
| Constructor and Description |
|---|
SerialPortInfo(String portName)
Class constructor.
|
SerialPortInfo(String portName,
String portDescription)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPortDescription()
Returns the serial port description.
|
String |
getPortName()
Returns the serial port name.
|
void |
setPortDescription(String portDescription)
Sets the serial port description.
|
public SerialPortInfo(String portName)
SerialPortInfo object with
the given parameters.portName - Name of the port.SerialPortInfo(String, String)public SerialPortInfo(String portName, String portDescription)
SerialPortInfo object with
the given parameters.portName - Name of the port.portDescription - Description of the port.SerialPortInfo(String)public String getPortDescription()
getPortName()public String getPortName()
getPortDescription()public void setPortDescription(String portDescription)
portDescription - The serial port description.getPortDescription()© Copyright 2014–2014 Digi International Inc. All rights reserved.