Initial opendaylight infrastructure commit!!
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / packet / PacketResult.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 /**
11  * @file   PacketResult.java
12  *
13  * @brief  Possible results for Data packet processing handler
14  */
15 package org.opendaylight.controller.sal.packet;
16
17 /**
18  * Possible results for Data packet processing handler
19  *
20  */
21 public enum PacketResult {
22     /**
23      * Packet has been processed and noone in the chain after us is
24      * supposed to see it
25      *
26      */
27     CONSUME,
28     /**
29      * Packet has been processed and still further processing is
30      * possible
31      *
32      */
33     KEEP_PROCESSING,
34     /**
35      * Packet has been ignored so further handler is present in
36      * the sequence need to still look at it.
37      *
38      */
39     IGNORED
40 }