blob: fa4273712e0edac106af3ad33d8ca385326abbcf [file] [log] [blame]
Andreas Wundsam40e14f72013-05-06 14:49:08 -07001package org.openflow.protocol.match;
2
3import org.openflow.protocol.OFObject;
Yotam Harchold7b84202013-07-26 16:08:10 -07004import org.openflow.types.OFValueType;
Andreas Wundsam40e14f72013-05-06 14:49:08 -07005
6public interface Match extends OFObject {
Yotam Harchold7b84202013-07-26 16:08:10 -07007 public <F extends OFValueType> F get(MatchField<F> match);
Andreas Wundsam40e14f72013-05-06 14:49:08 -07008
Yotam Harchold7b84202013-07-26 16:08:10 -07009 public boolean supports(MatchField<?> field);
Andreas Wundsam40e14f72013-05-06 14:49:08 -070010
Yotam Harchold7b84202013-07-26 16:08:10 -070011 public boolean supportsMasked(MatchField<?> field);
Andreas Wundsam40e14f72013-05-06 14:49:08 -070012
Yotam Harchold7b84202013-07-26 16:08:10 -070013 public boolean isExact(MatchField<?> field);
Andreas Wundsam40e14f72013-05-06 14:49:08 -070014
Yotam Harchold7b84202013-07-26 16:08:10 -070015 public boolean isFullyWildcarded(MatchField<?> field);
Andreas Wundsam40e14f72013-05-06 14:49:08 -070016
Yotam Harchold7b84202013-07-26 16:08:10 -070017 public boolean isPartiallyMasked(MatchField<?> field);
Andreas Wundsam40e14f72013-05-06 14:49:08 -070018
19 public MatchBuilder getBuilder();
20}