```java
<T extends OpsAgent> OpsSelector(Class<T> agentClass, int siteId) {
    m_agentClass = agentClass;
    m_siteId = siteId;
}
```
let the compiler do the check for you