Use ByteBuf.readRetainedSlice()
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / DiagStatusProvider.java
1 /*
2  * Copyright (c) 2017 Ericsson India Global Services Pvt Ltd. 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.impl;
9
10 import org.opendaylight.infrautils.diagstatus.ServiceState;
11
12 public interface DiagStatusProvider {
13
14     void reportStatus(ServiceState serviceState);
15
16     void reportStatus(ServiceState serviceState, Throwable throwable);
17
18     void reportStatus(ServiceState serviceState, String description);
19 }