}
@Override
public CellComponentServerState getServerState(CellComponentServerState setup) {
if (setup == null) {
setup = new SharedStateComponentServerState();
}
if (!(setup instanceof SharedStateComponentServerState)) {
throw new IllegalArgumentException("Not shared state component state");
}
// convert our internal data into an array of maps
SharedStateComponentServerState sscss =
(SharedStateComponentServerState) setup;
sscss.setMaps(toMaps(receiverRef.get()));
return setup;
}