Class SilenceDetectionServiceRemote

java.lang.Object
org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.silencedetection.remote.SilenceDetectionServiceRemote
All Implemented Interfaces:
org.opencastproject.silencedetection.api.SilenceDetectionService

public class SilenceDetectionServiceRemote extends org.opencastproject.serviceregistry.api.RemoteBase implements org.opencastproject.silencedetection.api.SilenceDetectionService
Silence dedection service proxy for use as a JVM local service.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.opencastproject.serviceregistry.api.RemoteBase

    org.opencastproject.serviceregistry.api.RemoteBase.HttpClientClosingInputStream
  • Field Summary

    Fields inherited from class org.opencastproject.serviceregistry.api.RemoteBase

    client, remoteServiceManager, serviceType

    Fields inherited from interface org.opencastproject.silencedetection.api.SilenceDetectionService

    JOB_TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opencastproject.job.api.Job
    detect(org.opencastproject.mediapackage.Track sourceTrack)
     
    org.opencastproject.job.api.Job
    detect(org.opencastproject.mediapackage.Track sourceTrack, org.opencastproject.mediapackage.Track[] referencedTracks)
     
    void
    setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
     
    void
    setTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient)
     

    Methods inherited from class org.opencastproject.serviceregistry.api.RemoteBase

    closeConnection, elementsFromHttpResponse, getResponse, getResponse, runRequest

    Methods inherited from class java.lang.Object

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

    • SilenceDetectionServiceRemote

      public SilenceDetectionServiceRemote()
  • Method Details

    • detect

      public org.opencastproject.job.api.Job detect(org.opencastproject.mediapackage.Track sourceTrack) throws org.opencastproject.silencedetection.api.SilenceDetectionFailedException
      Specified by:
      detect in interface org.opencastproject.silencedetection.api.SilenceDetectionService
      Throws:
      org.opencastproject.silencedetection.api.SilenceDetectionFailedException
    • detect

      public org.opencastproject.job.api.Job detect(org.opencastproject.mediapackage.Track sourceTrack, org.opencastproject.mediapackage.Track[] referencedTracks) throws org.opencastproject.silencedetection.api.SilenceDetectionFailedException
      Specified by:
      detect in interface org.opencastproject.silencedetection.api.SilenceDetectionService
      Throws:
      org.opencastproject.silencedetection.api.SilenceDetectionFailedException
    • setTrustedHttpClient

      public void setTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient)
      Overrides:
      setTrustedHttpClient in class org.opencastproject.serviceregistry.api.RemoteBase
    • setRemoteServiceManager

      public void setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
      Overrides:
      setRemoteServiceManager in class org.opencastproject.serviceregistry.api.RemoteBase