package org.yamcs.studio.core.pvmanager;

import org.yamcs.protobuf.Pvalue.ParameterValue;
import org.yamcs.protobuf.Yamcs.NamedObjectId;
import org.yamcs.protobuf.Yamcs.NamedObjectList;

public interface YamcsPVReader {

    void reportException(Exception e);

    NamedObjectId getId();

    void processParameterValue(ParameterValue pval);

    void processConnectionInfo(PVConnectionInfo info);

    default NamedObjectList toNamedObjectList() {
        return NamedObjectList.newBuilder().addList(getId()).build();
    }
}

@@ -181,16 +181,94 @@
 tList;%0A%0A
+/**%0A * Represents a web socket parameter subscription for one specific PV%0A */%0A
 public i
@@ -369,57 +369,212 @@
     
-void processParameterValue(ParameterValue pval);%0A
+/**%0A     *%0A     * Called when you get MDB information on the parameter%0A     *%0A     * @param id%0A     *            an id that was subscribed to%0A     * @param info%0A     *            the received info%0A     */
 %0A   
@@ -750,12 +750,66 @@
 ();%0A
-
     %7D
+%0A%0A    void processParameterValue(ParameterValue pval);
 %0A%7D%0A

Add docs