gnu.io
Class CommPortIdentifier
Object
gnu.io.CommPortIdentifier
public class CommPortIdentifier
extends Object
PORT_I2C
public static final int PORT_I2C
PORT_PARALLEL
public static final int PORT_PARALLEL
PORT_RAW
public static final int PORT_RAW
PORT_RS485
public static final int PORT_RS485
PORT_SERIAL
public static final int PORT_SERIAL
addPortName
public static void addPortName(String s,
int type,
CommDriver c)
addPortOwnershipListener
public void addPortOwnershipListener(CommPortOwnershipListener c)
getCurrentOwner
public String getCurrentOwner()
getName
public String getName()
getPortIdentifier
public static CommPortIdentifier getPortIdentifier(CommPort p)
throws NoSuchPortException
getPortIdentifier
public static CommPortIdentifier getPortIdentifier(String s)
throws NoSuchPortException
getPortIdentifiers
public static Enumeration getPortIdentifiers()
getPortType
public int getPortType()
isCurrentlyOwned
public boolean isCurrentlyOwned()
open
public CommPort open(FileDescriptor f)
throws UnsupportedCommOperationException
removePortOwnershipListener
public void removePortOwnershipListener(CommPortOwnershipListener c)