gnu.io
クラス CommPortIdentifier
java.lang.Object
gnu.io.CommPortIdentifier
public class CommPortIdentifier
- extends java.lang.Object
- 導入されたバージョン:
- JDK1.0
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PORT_SERIAL
public static final int PORT_SERIAL
- 関連項目:
- 定数フィールド値
PORT_PARALLEL
public static final int PORT_PARALLEL
- 関連項目:
- 定数フィールド値
PORT_I2C
public static final int PORT_I2C
- 関連項目:
- 定数フィールド値
PORT_RS485
public static final int PORT_RS485
- 関連項目:
- 定数フィールド値
PORT_RAW
public static final int PORT_RAW
- 関連項目:
- 定数フィールド値
PortName
private java.lang.String PortName
Available
private boolean Available
Owner
private java.lang.String Owner
commport
private CommPort commport
RXTXDriver
private CommDriver RXTXDriver
CommPortIndex
static CommPortIdentifier CommPortIndex
next
CommPortIdentifier next
PortType
private int PortType
debug
private static final boolean debug
- 関連項目:
- 定数フィールド値
Sync
static java.lang.Object Sync
ownershipListener
java.util.Vector ownershipListener
HideOwnerEvents
private boolean HideOwnerEvents
CommPortIdentifier
CommPortIdentifier(java.lang.String pn,
CommPort cp,
int pt,
CommDriver driver)
addPortName
public static void addPortName(java.lang.String s,
int type,
CommDriver c)
AddIdentifierToList
private static void AddIdentifierToList(CommPortIdentifier cpi)
addPortOwnershipListener
public void addPortOwnershipListener(CommPortOwnershipListener c)
getCurrentOwner
public java.lang.String getCurrentOwner()
getName
public java.lang.String getName()
getPortIdentifier
public static CommPortIdentifier getPortIdentifier(java.lang.String s)
throws NoSuchPortException
- 例外:
NoSuchPortException
getPortIdentifier
public static CommPortIdentifier getPortIdentifier(CommPort p)
throws NoSuchPortException
- 例外:
NoSuchPortException
getPortIdentifiers
public static java.util.Enumeration getPortIdentifiers()
getPortType
public int getPortType()
isCurrentlyOwned
public boolean isCurrentlyOwned()
open
public CommPort open(java.io.FileDescriptor f)
throws UnsupportedCommOperationException
- 例外:
UnsupportedCommOperationException
native_psmisc_report_owner
private java.lang.String native_psmisc_report_owner(java.lang.String PortName)
open
public CommPort open(java.lang.String TheOwner,
int i)
throws PortInUseException
- 例外:
PortInUseException
removePortOwnershipListener
public void removePortOwnershipListener(CommPortOwnershipListener c)
internalClosePort
void internalClosePort()
fireOwnershipEvent
void fireOwnershipEvent(int eventType)