Push- and Pull-based Effective Communication in Cyber-Physical Systems