
org.yamcs.protobuf.ParameterValuesApiClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yamcs-api Show documentation
Show all versions of yamcs-api Show documentation
Used by external clients to communicate with Yamcs
package org.yamcs.protobuf;
import org.yamcs.api.MethodHandler;
import org.yamcs.api.Observer;
@javax.annotation.processing.Generated(value = "org.yamcs.maven.ServiceGenerator", date = "2025-02-13T11:12:59.913728639Z")
public class ParameterValuesApiClient extends AbstractParameterValuesApi {
private final MethodHandler handler;
public ParameterValuesApiClient(MethodHandler handler) {
this.handler = handler;
}
/**
*
* Load a stream of parameter values
*
*/
@Override
@SuppressWarnings("unchecked")
public final Observer loadParameterValues(Void ctx, Observer observer) {
return (Observer)(Object) handler.streamingCall(
getDescriptorForType().getMethods().get(0),
LoadParameterValuesRequest.getDefaultInstance(),
LoadParameterValuesResponse.getDefaultInstance(),
observer);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy