2 * Copyright (C) 2014 Red Hat, Inc.
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 * Authors : Madhu Venugopal
11 package org.opendaylight.ovsdb.lib;
14 * Applications interested in Passive ovsdb connection events should implement this interface.
16 public interface OvsdbConnectionListener {
18 * Event thrown to the connection listener when a new Passive connection is established.
19 * @param OvsdbClient that represents the connection.
21 public void connected(OvsdbClient client);
24 * Event thrown to the connection listener when an existing connection is terminated.
25 * @param OvsdbClient that represents the connection.
27 public void disconnected(OvsdbClient client);