2 * Copyright (c) 2013 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.controller.protocol_plugin.openflow.core;
11 import java.net.SocketAddress;
12 import java.util.Date;
13 import java.util.List;
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;
23 * This interface defines an abstraction of an Open Flow Switch.
26 public interface IEnhancedSwitch extends ISwitch {
27 public void startHandler();
29 public void shutDownHandler();
31 public void handleMessage(OFMessage ofMessage);
33 public void flushBufferedMessages();
35 public SocketAddress getRemoteAddress();
37 public SocketAddress getLocalAddress();