public class SnmpTrapdComponent extends Object implements ResourceComponent<ResourceComponent<?>>, MeasurementFacet
| Modifier and Type | Field and Description |
|---|---|
static String |
TRAP_TYPE |
static int |
trapCount |
| Constructor and Description |
|---|
SnmpTrapdComponent() |
| Modifier and Type | Method and Description |
|---|---|
org.rhq.core.domain.measurement.AvailabilityType |
getAvailability() |
void |
getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics) |
void |
start(ResourceContext context)
Start the event polling mechanism and the actual trap listener.
|
void |
stop()
Tear down the trap listener and stop polling for events.
|
public static final String TRAP_TYPE
public static int trapCount
public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
getAvailability in interface AvailabilityFacetpublic void start(ResourceContext context) throws InvalidPluginConfigurationException, Exception
start in interface ResourceComponent<ResourceComponent<?>>InvalidPluginConfigurationExceptionExceptionResourceComponent.start(org.rhq.core.pluginapi.inventory.ResourceContext)public void stop()
stop in interface ResourceComponent<ResourceComponent<?>>ResourceComponent.stop()public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
throws Exception
getValues in interface MeasurementFacetExceptionCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.