class HealthMonitorEventAggregatorTask implements IEventAggregatorTask {

    @Override
    public List<Event> processEvents( ServerNode node, ServerComponent component )
        throws HMSRestException
    {

        List<Event> aggregatedEvents = new ArrayList<Event>();
        aggregatedEvents.addAll( getIBEvents( node, component ) );
        List<Event> oobEvents = getOOBEvents( node, component );
        aggregatedEvents.addAll( oobEvents );

        initiateInventoryRefreshOnOutOfBand( oobEvents );

        try
        {
            aggregatedEvents = EventFilterService.filterOrMassageEvents( NODE, component, aggregatedEvents );
        }
        catch ( Exception e )
        {
            // Ignore
            logger.warn( "Error filtering events for HMS:: Component:" + component, e );
        }
        return aggregatedEvents;
    }

}