Class MatchInPort
- java.lang.Object
-
- org.opendaylight.genius.mdsalutil.MatchInfo
-
- org.opendaylight.genius.mdsalutil.matches.MatchInPort
-
- All Implemented Interfaces:
MatchInfoBase
public class MatchInPort extends MatchInfo
In port match.
-
-
Constructor Summary
Constructors Constructor Description MatchInPort(org.opendaylight.yangtools.yang.common.Uint64 dpId, long portNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateInnerMatchBuilder(java.util.Map<java.lang.Class<?>,java.lang.Object> mapMatchBuilder)Creater the inner match object.booleanequals(java.lang.Object other)org.opendaylight.yangtools.yang.common.Uint64getDpId()longgetPortNumber()inthashCode()voidsetMatch(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder matchBuilder, java.util.Map<java.lang.Class<?>,java.lang.Object> mapMatchBuilder)Set the match to the match builder.java.lang.StringtoString()
-
-
-
Method Detail
-
createInnerMatchBuilder
public void createInnerMatchBuilder(java.util.Map<java.lang.Class<?>,java.lang.Object> mapMatchBuilder)
Description copied from interface:MatchInfoBaseCreater the inner match object.- Parameters:
mapMatchBuilder- the map which holds the matches.
-
setMatch
public void setMatch(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder matchBuilder, java.util.Map<java.lang.Class<?>,java.lang.Object> mapMatchBuilder)Description copied from interface:MatchInfoBaseSet the match to the match builder.- Parameters:
matchBuilder- the matchbuilder to set the matchmapMatchBuilder- the map containing the matches
-
getDpId
public org.opendaylight.yangtools.yang.common.Uint64 getDpId()
-
getPortNumber
public long getPortNumber()
-
-