Bug 1764 - created new bundle responsible for default OF switch configuration
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / md / core / session / SessionListener.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 package org.opendaylight.openflowplugin.api.openflow.md.core.session;
9
10 import java.util.EventListener;
11
12 /**
13  * listens on session changes
14  */
15 public interface SessionListener extends EventListener {
16
17     /**
18      * fired upon session added
19      * @param sessionKey
20      * @param context
21      */
22     void onSessionAdded(SwitchSessionKeyOF sessionKey, SessionContext context);
23
24     /**
25      * fired upon session removed
26      * @param context
27      */
28     void onSessionRemoved(SessionContext context);
29
30 }