Open Kilda Java Documentation
org.openkilda.messaging.model.rule.FlowDelete Class Reference
Inheritance diagram for org.openkilda.messaging.model.rule.FlowDelete:
org.openkilda.messaging.model.rule.Rule org.openkilda.messaging.BaseMessage org.openkilda.messaging.model.rule.FlowInstall org.openkilda.messaging.model.rule.FlowUpdate

Public Member Functions

 FlowDelete ()
 
 FlowDelete (@JsonProperty(RuleConstants.FLOW_ID) String flowId, @JsonProperty(RuleConstants.COOKIE) int cookie, @JsonProperty(RuleConstants.SWITCH_ID) String switchId, @JsonProperty(RuleConstants.MATCH_PORT) int matchPort, @JsonProperty(RuleConstants.MATCH_VLAN) int matchVlan)
 
int getMatchPort ()
 
void setMatchPort (int matchPort)
 
int getMatchVlan ()
 
void setMatchVlan (int matchVlan)
 
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 matchPort
 
int matchVlan
 
- 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 for FLOW_MOD/DELETE OpenFlow command.

Definition at line 29 of file FlowDelete.java.

Constructor & Destructor Documentation

◆ FlowDelete() [1/2]

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

Default constructor.

Definition at line 50 of file FlowDelete.java.

◆ FlowDelete() [2/2]

org.openkilda.messaging.model.rule.FlowDelete.FlowDelete ( @JsonProperty(RuleConstants.FLOW_ID) String  flowId,
@JsonProperty(RuleConstants.COOKIE) int  cookie,
@JsonProperty(RuleConstants.SWITCH_ID) String  switchId,
@JsonProperty(RuleConstants.MATCH_PORT) int  matchPort,
@JsonProperty(RuleConstants.MATCH_VLAN) int  matchVlan 
)

Instance constructor.

Parameters
flowIdrule flow id
cookierule cookie
switchIdrule switch id
matchPortrule match port
matchVlanrule match vlan id

Definition at line 62 of file FlowDelete.java.

Member Function Documentation

◆ equals()

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

Definition at line 112 of file FlowDelete.java.

◆ getMatchPort()

int org.openkilda.messaging.model.rule.FlowDelete.getMatchPort ( )

Gets match port.

Returns
match port

Definition at line 77 of file FlowDelete.java.

◆ getMatchVlan()

int org.openkilda.messaging.model.rule.FlowDelete.getMatchVlan ( )

Gets match vlan.

Returns
match vlan

Definition at line 95 of file FlowDelete.java.

◆ hashCode()

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

Definition at line 133 of file FlowDelete.java.

◆ setMatchPort()

void org.openkilda.messaging.model.rule.FlowDelete.setMatchPort ( int  matchPort)

Sets match port.

Parameters
matchPortmatch port

Definition at line 86 of file FlowDelete.java.

◆ setMatchVlan()

void org.openkilda.messaging.model.rule.FlowDelete.setMatchVlan ( int  matchVlan)

Sets match vlan.

Parameters
matchVlanmatch vlan

Definition at line 104 of file FlowDelete.java.

◆ toString()

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

Definition at line 141 of file FlowDelete.java.

Member Data Documentation

◆ matchPort

int org.openkilda.messaging.model.rule.FlowDelete.matchPort
protected

Rule math port.

Definition at line 39 of file FlowDelete.java.

◆ matchVlan

int org.openkilda.messaging.model.rule.FlowDelete.matchVlan
protected

Rule math vlan id, 0 if no vlan id match.

Definition at line 45 of file FlowDelete.java.


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