protocol.openflow_netty cleanup
[controller.git] / opendaylight / protocol_plugins / 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.openflow.protocol.OFMessage;
18 import org.openflow.protocol.OFPhysicalPort;
19 import org.openflow.protocol.OFStatisticsRequest;
20
21 /**
22  * This interface defines an abstraction of an Open Flow Switch.
23  *
24  */
25 public interface IEnhancedSwitch extends ISwitch {
26     public void startHandler();
27
28     public void shutDownHandler();
29
30     public void handleMessage(OFMessage ofMessage);
31
32     public void flushBufferedMessages();
33
34     public SocketAddress getRemoteAddress();
35
36     public SocketAddress getLocalAddress();
37 }