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, serviceTypeFields inherited from interface org.opencastproject.silencedetection.api.SilenceDetectionService
JOB_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opencastproject.job.api.Jobdetect(org.opencastproject.mediapackage.Track sourceTrack) org.opencastproject.job.api.Jobdetect(org.opencastproject.mediapackage.Track sourceTrack, org.opencastproject.mediapackage.Track[] referencedTracks) voidsetRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) voidsetTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient) Methods inherited from class org.opencastproject.serviceregistry.api.RemoteBase
closeConnection, elementsFromHttpResponse, getResponse, getResponse, runRequest
-
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:
detectin interfaceorg.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:
detectin interfaceorg.opencastproject.silencedetection.api.SilenceDetectionService- Throws:
org.opencastproject.silencedetection.api.SilenceDetectionFailedException
-
setTrustedHttpClient
public void setTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient) - Overrides:
setTrustedHttpClientin classorg.opencastproject.serviceregistry.api.RemoteBase
-
setRemoteServiceManager
public void setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) - Overrides:
setRemoteServiceManagerin classorg.opencastproject.serviceregistry.api.RemoteBase
-