Mercurial > hg > Database > Christie
changeset 149:e60ee525841d
fix add putAllDGM
author | akahori |
---|---|
date | Tue, 08 Jan 2019 16:37:43 +0900 |
parents | 301c1633745e |
children | 37b28ffbab2f |
files | src/main/java/christie/codegear/CodeGearManager.java |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/christie/codegear/CodeGearManager.java Tue Jan 08 16:24:14 2019 +0900 +++ b/src/main/java/christie/codegear/CodeGearManager.java Tue Jan 08 16:37:43 2019 +0900 @@ -71,4 +71,12 @@ public void setAccept(String key, IncomingTcpConnection in) { acceptHash.put(key, in); } + + // broadcast data + public void putAllDGM(String key, Object data){ + for(DataGearManager dgm:dgmList.values()){ + dgm.put(key, data); + } + } + }