blob: aef556834bc4df4511c2966ac0436e021e0c8d46 [file] [log] [blame]
package org.onlab.onos.net.packet;
/**
* Abstraction of an inbound packet processor.
*/
public interface PacketProcessor {
public static final int ADVISOR_MAX = Integer.MAX_VALUE / 3;
public static final int DIRECTOR_MAX = (Integer.MAX_VALUE / 3) * 2;
public static final int OBSERVER_MAX = Integer.MAX_VALUE;
/**
* Processes the inbound packet as specified in the given context.
*
* @param context packet processing context
*/
void process(PacketContext context);
}