Open Kilda Java Documentation
org.openkilda.messaging.command.flow.RemoveFlow Class Reference
Inheritance diagram for org.openkilda.messaging.command.flow.RemoveFlow:
org.openkilda.messaging.command.flow.BaseFlow org.openkilda.messaging.command.CommandData org.openkilda.messaging.MessageData org.openkilda.messaging.BaseMessage

Public Member Functions

 RemoveFlow (@JsonProperty(TRANSACTION_ID) Long transactionId, @JsonProperty(FLOW_ID) String flowId, @JsonProperty("cookie") Long cookie, @JsonProperty("switch_id") SwitchId switchId, @JsonProperty("meter_id") Long meterId, @JsonProperty("criteria") DeleteRulesCriteria criteria)
 
- Public Member Functions inherited from org.openkilda.messaging.command.flow.BaseFlow
 BaseFlow (@JsonProperty(TRANSACTION_ID) final Long transactionId, @JsonProperty(FLOW_ID) final String id, @JsonProperty("cookie") final Long cookie, @JsonProperty("switch_id") final SwitchId switchId)
 
Long getTransactionId ()
 
void setTransactionId (final Long transactionId)
 
String getId ()
 
void setId (final String id)
 
Long getCookie ()
 
void setCookie (final Long cookie)
 
SwitchId getSwitchId ()
 
void setSwitchId (SwitchId switchId)
 
- Public Member Functions inherited from org.openkilda.messaging.command.CommandData
String toString ()
 
- Public Member Functions inherited from org.openkilda.messaging.MessageData
 MessageData (@JsonProperty(TIMESTAMP) final long timestamp)
 
 MessageData ()
 
- Public Member Functions inherited from org.openkilda.messaging.BaseMessage
 BaseMessage (@JsonProperty(TIMESTAMP) final long timestamp)
 
 BaseMessage ()
 
long getTimestamp ()
 
void setTimestamp (long timestamp)
 

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)
 
- Protected Attributes inherited from org.openkilda.messaging.command.flow.BaseFlow
Long transactionId
 
String id
 
Long cookie
 
SwitchId switchId
 
- Protected Attributes inherited from org.openkilda.messaging.BaseMessage
long timestamp = 0L
 

Detailed Description

Class represents flow deletion info.

Definition at line 42 of file RemoveFlow.java.

Constructor & Destructor Documentation

◆ RemoveFlow()

org.openkilda.messaging.command.flow.RemoveFlow.RemoveFlow ( @JsonProperty(TRANSACTION_ID) Long  transactionId,
@JsonProperty(FLOW_ID) String  flowId,
@JsonProperty("cookie") Long  cookie,
@JsonProperty("switch_id") SwitchId  switchId,
@JsonProperty("meter_id") Long  meterId,
@JsonProperty("criteria") DeleteRulesCriteria  criteria 
)

Instance constructor.

Parameters
transactionIdtransaction id
flowIdflow id
cookiecookie of the flow
switchIdswitch ID for flow removing
meterIdmeter id
criteriacriteria to strictly match a rule.
Exceptions
IllegalArgumentExceptionif any of parameters parameters is null

Definition at line 62 of file RemoveFlow.java.


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