Module org.refcodes.serial
Package org.refcodes.serial
Interface PortMetricsAccessor<PM extends PortMetrics>
- Type Parameters:
PM- The actualPortMetricstype to use.
- All Known Subinterfaces:
Port<PM>,PortMetricsAccessor.PortMetricsProperty<PM>
- All Known Implementing Classes:
AbstractPort,AbstractPortDecorator,CrossoverLoopbackPort,LoopbackPort
public interface PortMetricsAccessor<PM extends PortMetrics>
Provides an accessor for a
PortMetrics property.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacePortMetricsAccessor.PortMetricsBuilder<PM extends PortMetrics,B extends PortMetricsAccessor.PortMetricsBuilder<PM, B>> Provides a builder method for aPortMetricsproperty returning the builder for applying multiple build operations.static interfaceProvides a mutator for aPortMetricsproperty.static interfaceProvides aPortMetricsproperty. -
Method Summary
-
Method Details
-
getPortMetrics
PM getPortMetrics()Retrieves thePortMetricsfrom thePortMetricsproperty.- Returns:
- The
PortMetricsstored by thePortMetricsproperty.
-