Small fix for 3037-5 build failure
[openflowplugin.git] / openflow_netty / src / main / java / org / opendaylight / controller / protocol_plugin / openflow / core / IEnhancedSwitch.java
1 /*
2  * Copyright (c) 2013 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.controller.protocol_plugin.openflow.core;
10
11 import java.net.SocketAddress;
12 import java.util.Date;
13 import java.util.List;
14 import java.util.Map;
15 import java.util.Set;
16
17 import org.opendaylight.openflowplugin.openflow.core.ISwitch;
18 import org.openflow.protocol.OFMessage;
19 import org.openflow.protocol.OFPhysicalPort;
20 import org.openflow.protocol.OFStatisticsRequest;
21
22 /**
23  * This interface defines an abstraction of an Open Flow Switch.
24  *
25  */
26 public interface IEnhancedSwitch extends ISwitch {
27     public void startHandler();
28
29     public void shutDownHandler();
30
31     public void handleMessage(OFMessage ofMessage);
32
33     public void flushBufferedMessages();
34
35     public SocketAddress getRemoteAddress();
36
37     public SocketAddress getLocalAddress();
38 }