Class AbstractCfdpApi<T>

    • Constructor Detail

      • AbstractCfdpApi

        public AbstractCfdpApi()
    • Method Detail

      • pauseTransfer

        public abstract void pauseTransfer​(T ctx,
                                           PauseTransferRequest request,
                                           Observer<com.google.protobuf.Empty> observer)
          Pause a transfer
         
      • cancelTransfer

        public abstract void cancelTransfer​(T ctx,
                                            CancelTransferRequest request,
                                            Observer<com.google.protobuf.Empty> observer)
          Cancel a transfer
         
          The ongoing transfer is aborted, partially uploaded/downloaded files
          are retained.
         
      • resumeTransfer

        public abstract void resumeTransfer​(T ctx,
                                            ResumeTransferRequest request,
                                            Observer<com.google.protobuf.Empty> observer)
          Resume a transfer
         
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface Api<T>
      • getRequestPrototype

        public final com.google.protobuf.Message getRequestPrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getRequestPrototype in interface Api<T>
      • getResponsePrototype

        public final com.google.protobuf.Message getResponsePrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getResponsePrototype in interface Api<T>
      • callMethod

        public final void callMethod​(com.google.protobuf.Descriptors.MethodDescriptor method,
                                     T ctx,
                                     com.google.protobuf.Message request,
                                     Observer<com.google.protobuf.Message> future)
        Specified by:
        callMethod in interface Api<T>
      • callMethod

        public final Observer<com.google.protobuf.Message> callMethod​(com.google.protobuf.Descriptors.MethodDescriptor method,
                                                                      T ctx,
                                                                      Observer<com.google.protobuf.Message> future)
        Specified by:
        callMethod in interface Api<T>