Class 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, elementsFromHttpResponse, remoteServiceManager, serviceType
      • Fields inherited from interface org.opencastproject.silencedetection.api.SilenceDetectionService

        JOB_TYPE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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)  
      • Methods inherited from class org.opencastproject.serviceregistry.api.RemoteBase

        closeConnection, getResponse, getResponse, runRequest, setRemoteServiceManager, setTrustedHttpClient
    • Constructor Detail

      • SilenceDetectionServiceRemote

        public SilenceDetectionServiceRemote()
    • Method Detail

      • 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