public class GpioControllerBase<T extends GpioControllerConfig> extends PiControllerBase<T>
コンストラクタと説明 |
---|
GpioControllerBase(java.lang.String id,
T config)
コンストラクタです。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
ccmExpired(CcmService arg0,
Ccm arg1)
CCMの有効期限が切れた場合に起動されます。
|
void |
ccmReceived(CcmService arg0,
Ccm arg1)
CCM値が受信された場合に起動されます。
|
void |
ccmSent(CcmService arg0,
Ccm arg1)
CCM値が送信された場合に起動されます。
|
void |
ccmValueChanged(CcmService arg0,
Ccm arg1)
CCM値が変更された場合に起動されます。
|
protected void |
onInit()
初期化(init)実行時に呼び出されます。
|
protected void |
onStart()
起動時の追加処理を実装するメソッドです。
|
protected void |
onStop()
停止時の追加処理を実装するメソッドです。
|
getOprService, getRcAService, getRcMService, init, setValue
addListener, getConfig, getDevice, getId, getListeners, getValue, notifyException, notifyStarted, notifyStopped, notifyUpdated, removeListener, setDevice, start, stop
public GpioControllerBase(java.lang.String id, T config)
id
- コンポーネントIDconfig
- 設定値public void ccmReceived(CcmService arg0, Ccm arg1)
ICcmServiceListener
arg0
- イベント発生元サービスarg1
- 受信されたCCMインスタンスpublic void ccmSent(CcmService arg0, Ccm arg1)
ICcmServiceListener
arg0
- イベント発生元サービスarg1
- 送信されたCCMインスタンスpublic void ccmExpired(CcmService arg0, Ccm arg1)
ICcmServiceListener
arg0
- イベント発生元サービスarg1
- 期限切れしたCCMインスタンスpublic void ccmValueChanged(CcmService arg0, Ccm arg1)
ICcmServiceListener
arg0
- イベント発生元サービスarg1
- 変更されたCCMインスタンスprotected void onInit() throws java.lang.Exception
AbstractComponent
onInit
クラス内 AbstractComponent<T extends GpioControllerConfig>
java.lang.Exception
- 処理に失敗するとスローされます。protected void onStart() throws java.lang.Exception
AbstractComponent
onStart
クラス内 AbstractComponent<T extends GpioControllerConfig>
java.lang.Exception
- 処理に失敗するとスローされます。protected void onStop() throws java.lang.Exception
AbstractComponent
onStop
クラス内 AbstractComponent<T extends GpioControllerConfig>
java.lang.Exception
- 処理に失敗するとスローされます。