Interface DeviceState
public interface DeviceState
Holder of device's structure.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Method returns true, if device capabilities provides flow statistics.boolean
Return true if we have relevant group information from device.boolean
Return true if we have relevant meter information from device.boolean
Method returns true, if device capabilities provides flow statistics.boolean
Method returns true, if device capabilities provides queue statistics.boolean
Method returns true, if device capabilities provides table statistics.void
setFlowStatisticsAvailable
(boolean available) void
setGroupAvailable
(boolean available) Set information about group statistics availability.void
setMeterAvailable
(boolean available) Set information about meter statistics availability.void
setPortStatisticsAvailable
(boolean available) void
setQueueStatisticsAvailable
(boolean available) void
setTableStatisticsAvailable
(boolean available)
-
Method Details
-
isMetersAvailable
boolean isMetersAvailable()Return true if we have relevant meter information from device. -
setMeterAvailable
void setMeterAvailable(boolean available) Set information about meter statistics availability. -
isGroupAvailable
boolean isGroupAvailable()Return true if we have relevant group information from device. -
setGroupAvailable
void setGroupAvailable(boolean available) Set information about group statistics availability. -
isFlowStatisticsAvailable
boolean isFlowStatisticsAvailable()Method returns true, if device capabilities provides flow statistics. -
setFlowStatisticsAvailable
void setFlowStatisticsAvailable(boolean available) -
isTableStatisticsAvailable
boolean isTableStatisticsAvailable()Method returns true, if device capabilities provides table statistics. -
setTableStatisticsAvailable
void setTableStatisticsAvailable(boolean available) -
isPortStatisticsAvailable
boolean isPortStatisticsAvailable()Method returns true, if device capabilities provides flow statistics. -
setPortStatisticsAvailable
void setPortStatisticsAvailable(boolean available) -
isQueueStatisticsAvailable
boolean isQueueStatisticsAvailable()Method returns true, if device capabilities provides queue statistics. -
setQueueStatisticsAvailable
void setQueueStatisticsAvailable(boolean available)
-