Merge "update nagasena dependencies for IT"
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / handlers / DeviceReplyProcessor.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.openflowplugin.api.openflow.device.handlers;
10
11 import java.util.List;
12 import org.opendaylight.openflowplugin.api.openflow.device.Xid;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.FlowRemoved;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.MultipartReply;
15 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader;
16 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.PacketInMessage;
17 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.PortStatusMessage;
18
19 /**
20  * @author tkubas
21  */
22 public interface DeviceReplyProcessor {
23
24     /**
25      * Method that set future to context in Map
26      *
27      * @param ofHeader
28      */
29     public void processReply(OfHeader ofHeader);
30
31     /**
32      * Method that set future to context in Map
33      *
34      * @param xid,
35      * @param ofHeaderList
36      */
37     public void processReply(Xid xid, List<MultipartReply> ofHeaderList);
38
39     /**
40      * Method process async flow removed from device
41      *
42      * @param flowRemoved
43      */
44     public void processFlowRemovedMessage(FlowRemoved flowRemoved);
45
46     /**
47      * Method process async port status from device
48      *
49      * @param portStatus
50      */
51     public void processPortStatusMessage(PortStatusMessage portStatus);
52
53     /**
54      * Method process async packet in from device
55      *
56      * @param packetInMessage
57      */
58     public void processPacketInMessage(PacketInMessage packetInMessage);
59
60 }