|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esf.core.system.manager.service.EsfSerialPort
public class EsfSerialPort
container class for ESFSerial ports. This class contains knowledge about USB device node mappings if applicable as well as the device node mappings. Copyright (c) 2011 Eurotech Inc. All rights reserved.
Constructor Summary | |
---|---|
EsfSerialPort(java.lang.String deviceNode)
Contsructor for a serial device that is not a USB based serial port |
|
EsfSerialPort(java.lang.String deviceNode,
java.lang.String usbPort)
Constructor for a serial device that is a USB based serial port |
Method Summary | |
---|---|
java.lang.String |
getDeviceNode()
returns the device node as a @String |
java.lang.String |
getUsbPort()
returns the USB port name as a @String if this is a USB based serial port. |
boolean |
isUsbToSerialPort()
returns whether or not this is a USB based serial port |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EsfSerialPort(java.lang.String deviceNode)
deviceNode
- the device node of the serial portpublic EsfSerialPort(java.lang.String deviceNode, java.lang.String usbPort)
deviceNode
- the device node of the serial portusbPort
- the usb port name of the deviceMethod Detail |
---|
public java.lang.String getDeviceNode()
public boolean isUsbToSerialPort()
public java.lang.String getUsbPort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |