Class VideoSegmenterRemoteImpl
java.lang.Object
org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.videosegmenter.remote.VideoSegmenterRemoteImpl
- All Implemented Interfaces:
VideoSegmenterService
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencastproject.serviceregistry.api.RemoteBase
RemoteBase.HttpClientClosingInputStream -
Field Summary
Fields inherited from class org.opencastproject.serviceregistry.api.RemoteBase
client, remoteServiceManager, serviceTypeFields inherited from interface org.opencastproject.videosegmenter.api.VideoSegmenterService
JOB_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTakes the given track and returns the job that can be used to get the resulting mpeg7 catalog.voidsetRemoteServiceManager(ServiceRegistry serviceRegistry) Sets the remote service manager.voidsetTrustedHttpClient(TrustedHttpClient trustedHttpClient) Sets the trusted http clientMethods inherited from class org.opencastproject.serviceregistry.api.RemoteBase
closeConnection, elementsFromHttpResponse, getResponse, getResponse, runRequest
-
Constructor Details
-
VideoSegmenterRemoteImpl
public VideoSegmenterRemoteImpl()
-
-
Method Details
-
segment
Description copied from interface:VideoSegmenterServiceTakes the given track and returns the job that can be used to get the resulting mpeg7 catalog.- Specified by:
segmentin interfaceVideoSegmenterService- Parameters:
track- track to segment- Returns:
- the job with which we can obtain the extracted metadata
- Throws:
VideoSegmenterException- if the track could not be segmented
-
setTrustedHttpClient
Description copied from class:RemoteBaseSets the trusted http client- Overrides:
setTrustedHttpClientin classRemoteBase- Parameters:
trustedHttpClient-
-
setRemoteServiceManager
Description copied from class:RemoteBaseSets the remote service manager.- Overrides:
setRemoteServiceManagerin classRemoteBase- Parameters:
serviceRegistry-
-