-
public interface IGroupListener
The group status change listener.
-
-
Method Summary
Modifier and Type Method Description abstract void
onDpUpdate(long groupId, String dps)
On group data points code updated. abstract void
onDpCodeUpdate(long groupId, Map<String, Object> dpCodeMap)
On group data points code updated. abstract void
onGroupInfoUpdate(long groupId)
On group info updated.(like name and so on). abstract void
onGroupRemoved(long groupId)
On group removed. -
-
Method Detail
-
onDpUpdate
abstract void onDpUpdate(long groupId, String dps)
On group data points code updated.
- Parameters:
groupId
- group iddps
- The data points id changed, the format like {"101": true}
-
onDpCodeUpdate
abstract void onDpCodeUpdate(long groupId, Map<String, Object> dpCodeMap)
On group data points code updated.
- Parameters:
groupId
- group iddpCodeMap
- The data points code changed, the format like {"switch_led": true}
-
onGroupInfoUpdate
abstract void onGroupInfoUpdate(long groupId)
On group info updated.(like name and so on).
- Parameters:
groupId
- Group id
-
onGroupRemoved
abstract void onGroupRemoved(long groupId)
On group removed.
- Parameters:
groupId
- Group id
-
-
-
-