Open Kilda Java Documentation
org.openkilda.messaging.model.rule.MeterDelete Class Reference
Inheritance diagram for org.openkilda.messaging.model.rule.MeterDelete:
org.openkilda.messaging.model.rule.Rule org.openkilda.messaging.BaseMessage org.openkilda.messaging.model.rule.MeterInstall org.openkilda.messaging.model.rule.MeterUpdate

Public Member Functions

 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 ()
 
- Public Member Functions inherited from org.openkilda.messaging.model.rule.Rule
 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 ()
 
- Public Member Functions inherited from org.openkilda.messaging.BaseMessage
 BaseMessage (@JsonProperty(TIMESTAMP) final long timestamp)
 
 BaseMessage ()
 
long getTimestamp ()
 
void setTimestamp (long timestamp)
 

Protected Attributes

int meterId
 
- Protected Attributes inherited from org.openkilda.messaging.model.rule.Rule
String flowId
 
int cookie
 
String switchId
 
- Protected Attributes inherited from org.openkilda.messaging.BaseMessage
long timestamp = 0L
 

Additional Inherited Members

- Static Public Member Functions inherited from org.openkilda.messaging.BaseMessage
static final< T extends BaseMessage > T getMessage (String json, Class< T > type) throws java.io.IOException
 
static final< T extends BaseMessage > T tryGetMessage (String json, Class< T > type)
 

Detailed Description

Represents rule entity METER_MOD/DELETE OpenFlow command.

Definition at line 29 of file MeterDelete.java.

Constructor & Destructor Documentation

◆ MeterDelete() [1/2]

org.openkilda.messaging.model.rule.MeterDelete.MeterDelete ( )

Default constructor.

Definition at line 44 of file MeterDelete.java.

◆ MeterDelete() [2/2]

org.openkilda.messaging.model.rule.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 
)

Instance constructor.

Parameters
flowIdrule flow id
switchIdrule switch id
cookierule cookie
meterIdrule meter id

Definition at line 55 of file MeterDelete.java.

Member Function Documentation

◆ equals()

boolean org.openkilda.messaging.model.rule.MeterDelete.equals ( Object  object)

Definition at line 85 of file MeterDelete.java.

◆ getMeterId()

int org.openkilda.messaging.model.rule.MeterDelete.getMeterId ( )

Gets meter id.

Returns
meter id

Definition at line 68 of file MeterDelete.java.

◆ hashCode()

int org.openkilda.messaging.model.rule.MeterDelete.hashCode ( )

Definition at line 104 of file MeterDelete.java.

◆ setMeterId()

void org.openkilda.messaging.model.rule.MeterDelete.setMeterId ( int  meterId)

Sets meter id.

Parameters
meterIdmeter id

Definition at line 77 of file MeterDelete.java.

◆ toString()

String org.openkilda.messaging.model.rule.MeterDelete.toString ( )

Definition at line 112 of file MeterDelete.java.

Member Data Documentation

◆ meterId

int org.openkilda.messaging.model.rule.MeterDelete.meterId
protected

Rule meter id.

Definition at line 39 of file MeterDelete.java.


The documentation for this class was generated from the following file: