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.openflow.protocol.OFMessage;
18 import org.openflow.protocol.OFPhysicalPort;
19 import org.openflow.protocol.OFStatisticsRequest;
22 * This interface defines an abstraction of an Open Flow Switch.
25 public interface IEnhancedSwitch extends ISwitch {
26 public void startHandler();
28 public void shutDownHandler();
30 public void handleMessage(OFMessage ofMessage);
32 public void flushBufferedMessages();
34 public SocketAddress getRemoteAddress();
36 public SocketAddress getLocalAddress();