2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
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
9 package org.opendaylight.openflowplugin.api.openflow.device.handlers;
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;
22 public interface DeviceReplyProcessor {
25 * Method that set future to context in Map
29 public void processReply(OfHeader ofHeader);
32 * Method that set future to context in Map
37 public void processReply(Xid xid, List<MultipartReply> ofHeaderList);
40 * Method process async flow removed from device
44 public void processFlowRemovedMessage(FlowRemoved flowRemoved);
47 * Method process async port status from device
51 public void processPortStatusMessage(PortStatusMessage portStatus);
54 * Method process async packet in from device
56 * @param packetInMessage
58 public void processPacketInMessage(PacketInMessage packetInMessage);