public abstract class SerialPortClientBase extends java.lang.Object implements ISerialPortClient
コンストラクタと説明 |
---|
SerialPortClientBase() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addListener(ISerialPortListener lsn)
データ受信リスナーを登録します。
|
protected void |
fireDataAvailableEvent(byte[] data)
データ受信イベント処理を行います。
|
boolean |
removeListener(ISerialPortListener lsn)
データ受信リスナーを削除します。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, init, open, sendData
public void addListener(ISerialPortListener lsn)
ISerialPortClient
addListener
インタフェース内 ISerialPortClient
lsn
- リスナーpublic boolean removeListener(ISerialPortListener lsn)
ISerialPortClient
removeListener
インタフェース内 ISerialPortClient
lsn
- 削除対象リスナーprotected void fireDataAvailableEvent(byte[] data)
data
- 受信データ