public class EventSource extends AbstractSource implements IReceiveListener
<Source name="Event" class="jp.co.sds_corp.transfer.source.EventSource"> <name>NAME</name> </Source>
コンストラクタと説明 |
---|
EventSource() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
init(jp.co.sds_corp.util.config.IConfiguration config)
指定された初期情報で初期化します。
|
void |
received(ReceiveEvent e)
データに何らかの変更があったときに呼び出されます。
|
void |
start()
このサービスを開始します。
|
void |
statusChanged(StatusChangeEvent e)
状態に何らかの変更があったときに呼び出されます。
|
void |
stop()
このサービスを停止します。
|
String |
toString()
この取得元の文字列表現を返します。
|
addFilter, addReceiveListener, addReceiveListener, fireReceive, fireReceive, fireStatusChange, getFilterList, isDebug, isValid, removeFilter, removeReceiveListener, removeReceiveListener, setDebug
getName, getStatus, getStatusString, isInterrupted, isValid, saveConfig, setInterrupt, setName, setStatus, setValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public void init(jp.co.sds_corp.util.config.IConfiguration config) throws Exception
init
インタフェース内 jp.co.sds_corp.util.config.IConfigurable
init
クラス内 AbstractSource
config
- 初期情報Exception
public void start()
start
インタフェース内 jp.co.sds_corp.util.daemon.IService
start
クラス内 AbstractSource
public void stop()
stop
インタフェース内 jp.co.sds_corp.util.daemon.IService
stop
クラス内 AbstractSource
public void received(ReceiveEvent e) throws Exception
received
インタフェース内 IReceiveListener
e
- イベントソースおよびデータの変更内容を指定します。Exception
public void statusChanged(StatusChangeEvent e) throws Exception
statusChanged
インタフェース内 IReceiveListener
e
- イベントソースおよび状態の変更内容を指定します。Exception
public String toString()
toString
クラス内 jp.co.sds_corp.util.daemon.AbstractService
Copyright © 2021 S.D.S Co.,Ltd.. All rights reserved.