-
public interface IEventCenter
-
-
Method Summary
Modifier and Type Method Description abstract void
registerDevListener(String devId, IThingDevEventListener listener)
abstract void
unRegisterDevListener(String devId, IThingDevEventListener listener)
abstract void
registerGlobalDevListener(IDevListener listener)
register global device event monitor which can receive event from any device abstract void
registerGlobalDevListener(String ownId, IDevListener listener)
abstract void
unRegisterGlobalDevListener(IDevListener listener)
-
-
Method Detail
-
registerDevListener
abstract void registerDevListener(String devId, IThingDevEventListener listener)
-
unRegisterDevListener
abstract void unRegisterDevListener(String devId, IThingDevEventListener listener)
-
registerGlobalDevListener
abstract void registerGlobalDevListener(IDevListener listener)
register global device event monitor which can receive event from any device
- Parameters:
listener
- device event listener
-
registerGlobalDevListener
abstract void registerGlobalDevListener(String ownId, IDevListener listener)
-
unRegisterGlobalDevListener
abstract void unRegisterGlobalDevListener(IDevListener listener)
-
-
-
-