![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
MeterInstall () | |
MeterInstall (@JsonProperty(RuleConstants.FLOW_ID) String flowId, @JsonProperty(RuleConstants.COOKIE) int cookie, @JsonProperty(RuleConstants.SWITCH_ID) String switchId, @JsonProperty(RuleConstants.METER_ID) int meterId, @JsonProperty(RuleConstants.BANDWIDTH) int bandwidth) | |
int | getBandwidth () |
void | setBandwidth (int bandwidth) |
boolean | equals (Object object) |
int | hashCode () |
String | toString () |
![]() | |
MeterDelete () | |
MeterDelete (@JsonProperty(RuleConstants.FLOW_ID) String flowId, @JsonProperty(RuleConstants.COOKIE) int cookie, @JsonProperty(RuleConstants.SWITCH_ID) String switchId, @JsonProperty(RuleConstants.METER_ID) int meterId) | |
int | getMeterId () |
void | setMeterId (int meterId) |
boolean | equals (Object object) |
int | hashCode () |
String | toString () |
![]() | |
Rule () | |
Rule (@JsonProperty(RuleConstants.FLOW_ID) String flowId, @JsonProperty(RuleConstants.COOKIE) int cookie, @JsonProperty(RuleConstants.SWITCH_ID) String switchId) | |
String | getFlowId () |
void | setFlowId (String flowId) |
String | getSwitchId () |
void | setSwitchId (String switchId) |
int | getCookie () |
void | setCookie (int cookie) |
boolean | equals (Object object) |
int | hashCode () |
String | toString () |
Additional Inherited Members | |
![]() | |
int | meterId |
![]() | |
String | flowId |
int | cookie |
String | switchId |
Represents rule entity for METER_MOD/INSTALL OpenFlow command.
Definition at line 29 of file MeterInstall.java.
org.openkilda.messaging.model.rule.MeterInstall.MeterInstall | ( | ) |
Default constructor.
Definition at line 44 of file MeterInstall.java.
org.openkilda.messaging.model.rule.MeterInstall.MeterInstall | ( | @JsonProperty(RuleConstants.FLOW_ID) String | flowId, |
@JsonProperty(RuleConstants.COOKIE) int | cookie, | ||
@JsonProperty(RuleConstants.SWITCH_ID) String | switchId, | ||
@JsonProperty(RuleConstants.METER_ID) int | meterId, | ||
@JsonProperty(RuleConstants.BANDWIDTH) int | bandwidth | ||
) |
Instance constructor.
flowId | flow id |
switchId | switch id |
cookie | cookie |
meterId | meter id |
bandwidth | meter bandwidth |
Definition at line 56 of file MeterInstall.java.
boolean org.openkilda.messaging.model.rule.MeterInstall.equals | ( | Object | object | ) |
Definition at line 87 of file MeterInstall.java.
int org.openkilda.messaging.model.rule.MeterInstall.getBandwidth | ( | ) |
int org.openkilda.messaging.model.rule.MeterInstall.hashCode | ( | ) |
Definition at line 107 of file MeterInstall.java.
void org.openkilda.messaging.model.rule.MeterInstall.setBandwidth | ( | int | bandwidth | ) |
String org.openkilda.messaging.model.rule.MeterInstall.toString | ( | ) |
Definition at line 115 of file MeterInstall.java.