|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tenduke.services.multimedia.Multimedia
public class Multimedia
Service implementation, which is responsible for loading configuration and initializing
a MediaProcessingProvider for video and audio media processing.
| Field Summary | |
|---|---|
static java.lang.String |
SERVICE_NAME
Constant for informal name of this service. |
| Fields inherited from interface com.tenduke.services.Service |
|---|
SERVICE_ERROR_ON_STOP, SERVICE_FAILED_TO_START, SERVICE_OK |
| Constructor Summary | |
|---|---|
Multimedia()
Creates a new instance of Multimedia. |
|
| Method Summary | |
|---|---|
java.lang.String |
getServiceName()
Gets informal name of this service. |
boolean |
isOn()
Gets service state: true or false indicating if service has been started successfully. |
int |
startService()
Starts Multimedia service. |
int |
stopService()
Stops Multimedia service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SERVICE_NAME
| Constructor Detail |
|---|
public Multimedia()
media.mediaprocessingprovider.classname
does not exist, sets it's value to com.tenduke.multimedia.MediaProcessingToolchain.
| Method Detail |
|---|
public java.lang.String getServiceName()
getServiceName in interface Servicepublic boolean isOn()
isOn in interface Servicepublic int startService()
Starts Multimedia service. Service start registers MediaProcessingToolchain.CONCURRENT_EXECUTION_CALLER_NAME as a thread pool
in ExecutionManagers.
startService in interface ServiceService.SERVICE_OK if MediaProcessingToolchain.CONCURRENT_EXECUTION_CALLER_NAME thread pool
registration in ExecutionManagers was successful.public int stopService()
stopService in interface ServiceService.SERVICE_OK always.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||