Class MatchIpProtocol
- java.lang.Object
-
- org.opendaylight.genius.mdsalutil.MatchInfo
-
- org.opendaylight.genius.mdsalutil.matches.MatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
-
- org.opendaylight.genius.mdsalutil.matches.MatchIpProtocol
-
- All Implemented Interfaces:
MatchInfoBase
public class MatchIpProtocol extends MatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
IP protocol match.
-
-
Field Summary
Fields Modifier and Type Field Description static MatchIpProtocol
ICMP
static MatchIpProtocol
ICMPV6
static MatchIpProtocol
TCP
static MatchIpProtocol
UDP
-
Constructor Summary
Constructors Constructor Description MatchIpProtocol(short protocol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyValue(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder matchBuilder, org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch value)
boolean
equals(java.lang.Object other)
short
getProtocol()
int
hashCode()
protected void
populateBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder builder)
java.lang.String
toString()
-
Methods inherited from class org.opendaylight.genius.mdsalutil.matches.MatchInfoHelper
createInnerMatchBuilder, setMatch
-
-
-
-
Field Detail
-
TCP
public static final MatchIpProtocol TCP
-
UDP
public static final MatchIpProtocol UDP
-
ICMP
public static final MatchIpProtocol ICMP
-
ICMPV6
public static final MatchIpProtocol ICMPV6
-
-
Method Detail
-
applyValue
protected void applyValue(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder matchBuilder, org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch value)
- Specified by:
applyValue
in classMatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
-
populateBuilder
protected void populateBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder builder)
- Specified by:
populateBuilder
in classMatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
-
getProtocol
public short getProtocol()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classMatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classMatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
-
-