2 * Copyright (c) 2015 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.netconf.api.monitoring;
12 * Created by mmarsale on 13.2.2015.
14 public interface SessionListener {
17 * Callback used to notify about netconf session start.
19 * @param session started session
21 void onSessionUp(NetconfManagementSession session);
24 * Callback used to notify about netconf session end.
26 * @param session ended session
28 void onSessionDown(NetconfManagementSession session);
31 * Callback used to notify about activity in netconf session, like
32 * rpc or notification.
34 * @param event session event, contains session and type of event
36 void onSessionEvent(SessionEvent event);