Class AbstractIpmiRunner<T>
java.lang.Object
org.sentrysoftware.ipmi.client.runner.AbstractIpmiRunner<T>
- Type Parameters:
T- Represent the data type managed by the runner
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
GetChassisStatusRunner,GetFrusRunner,GetSensorsRunner
This abstract class implements common features required by FRUs, Sensor and Chassis Status runners.
-
Method Summary
-
Method Details
-
doRun
Proceed with the IPMI request- Throws:
Exception- If the sensor or fru retrieval fails
-
getResult
- Returns:
- The actual result set by the concrete runner
-
setResult
Set the final result- Parameters:
result- The concrete runner result
-
authenticate
Authenticate IPMI- Throws:
Exception- If the authentication fails
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-