use of org.thingsboard.server.common.msg.cluster.ClusterEventMsg in project thingsboard by thingsboard.
the class DefaultActorService method onServerRemoved.
@Override
public void onServerRemoved(ServerInstance server) {
log.trace("Processing onServerRemoved msg: {}", server);
broadcast(new ClusterEventMsg(server.getServerAddress(), false));
}
use of org.thingsboard.server.common.msg.cluster.ClusterEventMsg in project thingsboard by thingsboard.
the class DefaultActorService method onServerAdded.
@Override
public void onServerAdded(ServerInstance server) {
log.trace("Processing onServerAdded msg: {}", server);
broadcast(new ClusterEventMsg(server.getServerAddress(), true));
}
Aggregations