blob: 1b526dbfa7379311c9e387f8ba81447c7e6d6a61 [file] [log] [blame]
Andrea Campanella101417d2015-12-11 17:58:07 -08001/*
2 * Copyright 2015 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package org.onosproject.netconf.ctl;
18
19import org.onosproject.netconf.NetconfDeviceOutputEvent;
20
21/**
22 * Entity associated with a NetconfSessionImpl and capable of receiving notifications of
23 * events about the session.
24 */
25public interface NetconfSessionDelegate {
26
27 /**
28 * Notifies the delegate via the specified event.
29 *
30 * @param event store generated event
31 */
32 void notify(NetconfDeviceOutputEvent event);
33}