Merge "Device Info"
[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.ExperimenterMessage;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.FlowRemoved;
15 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.MultipartReply;
16 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader;
17 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.PacketInMessage;
18 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.PortStatusMessage;
19
20 /**
21  * @author tkubas
22  */
23 public interface DeviceReplyProcessor {
24
25     /**
26      * Method that set future to context in Map
27      *
28      * @param ofHeader
29      */
30     void processReply(OfHeader ofHeader);
31
32     /**
33      * Method that set future to context in Map
34      *
35      * @param xid,
36      * @param ofHeaderList
37      */
38     void processReply(Xid xid, List<MultipartReply> ofHeaderList);
39
40     /**
41      * Method process async flow removed from device
42      *
43      * @param flowRemoved
44      */
45     void processFlowRemovedMessage(FlowRemoved flowRemoved);
46
47     /**
48      * Method process async port status from device
49      *
50      * @param portStatus
51      */
52     void processPortStatusMessage(PortStatusMessage portStatus);
53
54     /**
55      * Method process async packet in from device
56      *
57      * @param packetInMessage
58      */
59     void processPacketInMessage(PacketInMessage packetInMessage);
60
61     /**
62      * Processing of experimenter symmetric message from device
63      *
64      * @param notification
65      */
66     void processExperimenterMessage(ExperimenterMessage notification);
67 }