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
8 package org.opendaylight.openflowplugin.openflow.md.core.session;
10 import java.util.EventListener;
13 * listens on session changes
15 public interface SessionListener extends EventListener {
18 * fired upon session added
22 void onSessionAdded(SwitchSessionKeyOF sessionKey, SessionContext context);
25 * fired upon session removed
28 void onSessionRemoved(SessionContext context);