Class NSPacketClassifier
- java.lang.Object
-
- org.onosproject.net.packet.packetfilter.NSPacketClassifier
-
- All Implemented Interfaces:
PacketInClassifier
public class NSPacketClassifier extends java.lang.Object implements PacketInClassifier
-
-
Constructor Summary
Constructors Constructor Description NSPacketClassifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(PacketContext packet)
Returns true if the packet classifier matches else false.
-
-
-
Method Detail
-
match
public boolean match(PacketContext packet)
Description copied from interface:PacketInClassifier
Returns true if the packet classifier matches else false. The matching criterion should be non overlapping with other implementation of the PacketInClassifier.- Specified by:
match
in interfacePacketInClassifier
- Parameters:
packet
- PacketContext holding the packet information- Returns:
- boolean checks whether packet matches classifier
-
-