Class HttpMethodHandler

java.lang.Object
org.yamcs.client.base.HttpMethodHandler
All Implemented Interfaces:
org.yamcs.api.MethodHandler

public class HttpMethodHandler extends Object implements org.yamcs.api.MethodHandler
  • Constructor Summary

    Constructors
    Constructor
    Description
    HttpMethodHandler(YamcsClient client, RestClient baseClient, WebSocketClient webSocketClient)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    call(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype, org.yamcs.api.Observer<? extends com.google.protobuf.Message> observer)
     
     
    org.yamcs.api.Observer<? extends com.google.protobuf.Message>
    streamingCall(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message requestPrototype, com.google.protobuf.Message responsePrototype, org.yamcs.api.Observer<? extends com.google.protobuf.Message> responseObserver)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • streamingCall

      public org.yamcs.api.Observer<? extends com.google.protobuf.Message> streamingCall(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message requestPrototype, com.google.protobuf.Message responsePrototype, org.yamcs.api.Observer<? extends com.google.protobuf.Message> responseObserver)
      Specified by:
      streamingCall in interface org.yamcs.api.MethodHandler
    • call

      public void call(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype, org.yamcs.api.Observer<? extends com.google.protobuf.Message> observer)
      Specified by:
      call in interface org.yamcs.api.MethodHandler
    • getWebSocketClient

      public WebSocketClient getWebSocketClient()