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, waitclose, init, open, sendDatapublic void addListener(ISerialPortListener lsn)
ISerialPortClientaddListener インタフェース内 ISerialPortClientlsn - リスナーpublic boolean removeListener(ISerialPortListener lsn)
ISerialPortClientremoveListener インタフェース内 ISerialPortClientlsn - 削除対象リスナーprotected void fireDataAvailableEvent(byte[] data)
data - 受信データ