// No checks if this has already been set public Component AddComponent(Component comp) { // NB can only be added once if (null == m_comp) { m_comp = comp; return this; } return comp; }
public MonitoringModule() { m_comp = null; }