org.yamcs.sle.api.SleApiClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yamcs-sle Show documentation
Show all versions of yamcs-sle Show documentation
Data links for connecting Yamcs to SLE (Space Link Extension) providers such as Ground Stations
package org.yamcs.sle.api;
import com.google.protobuf.Empty;
import org.yamcs.api.MethodHandler;
import org.yamcs.api.Observer;
// @javax.annotation.processing.Generated(value = "org.yamcs.protoc.ServiceGenerator", date = "2021-02-17T21:24:14.191Z")
public class SleApiClient extends AbstractSleApi {
private final MethodHandler handler;
public SleApiClient(MethodHandler handler) {
this.handler = handler;
}
/**
*
* Request Offline Data
*
*/
@Override
public final void requestOfflineData(Void ctx, RequestOfflineDataRequest request, Observer observer) {
handler.call(
getDescriptorForType().getMethods().get(0),
request,
Empty.getDefaultInstance(),
observer);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy