public interface ServerManager extends MediaObject
addErrorListener, addErrorListener, addTag, addTag, addTag, getChilds, getChilds, getChilds, getCreationTime, getCreationTime, getCreationTime, getId, getId, getId, getMediaPipeline, getMediaPipeline, getMediaPipeline, getName, getName, getName, getParent, getParent, getParent, getSendTagsInEvents, getSendTagsInEvents, getSendTagsInEvents, getTag, getTag, getTag, getTags, getTags, getTags, removeErrorListener, removeErrorListener, removeTag, removeTag, removeTag, setName, setName, setName, setSendTagsInEvents, setSendTagsInEvents, setSendTagsInEventsisCommited, release, release, release, waitCommited, whenCommited, whenCommitedServerInfo getInfo()
void getInfo(Continuation<ServerInfo> cont)
TFuture<ServerInfo> getInfo(Transaction tx)
List<MediaPipeline> getPipelines()
void getPipelines(Continuation<List<MediaPipeline>> cont)
TFuture<List<MediaPipeline>> getPipelines(Transaction tx)
void getSessions(Continuation<List<String>> cont)
TFuture<List<String>> getSessions(Transaction tx)
String getMetadata()
void getMetadata(Continuation<String> cont)
TFuture<String> getMetadata(Transaction tx)
String getKmd(String moduleName)
moduleName - Name of the module to get its kmd filevoid getKmd(String moduleName, Continuation<String> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.moduleName - Name of the module to get its kmd filegetKmd(java.lang.String)TFuture<String> getKmd(Transaction tx, String moduleName)
moduleName - Name of the module to get its kmd fileListenerSubscription addObjectCreatedListener(EventListener<ObjectCreatedEvent> listener)
EventListener for event ObjectCreatedEvent. Synchronous call.listener - Listener to be called on ObjectCreatedEventvoid addObjectCreatedListener(EventListener<ObjectCreatedEvent> listener, Continuation<ListenerSubscription> cont)
EventListener for event ObjectCreatedEvent. Asynchronous call.
Calls Continuation<ListenerSubscription> when it has been added.listener - Listener to be called on ObjectCreatedEventcont - Continuation to be called when the listener is registeredvoid removeObjectCreatedListener(ListenerSubscription listenerSubscription)
ListenerSubscription for event ObjectCreatedEvent. Synchronous call.listenerSubscription - Listener subscription to be removedvoid removeObjectCreatedListener(ListenerSubscription listenerSubscription, Continuation<Void> cont)
ListenerSubscription for event ObjectCreatedEvent. Asynchronous call.
Calls Continuation<Void> when it has been removed.listenerSubscription - Listener subscription to be removedcont - Continuation to be called when the listener is removedListenerSubscription addObjectDestroyedListener(EventListener<ObjectDestroyedEvent> listener)
EventListener for event ObjectDestroyedEvent. Synchronous call.listener - Listener to be called on ObjectDestroyedEventvoid addObjectDestroyedListener(EventListener<ObjectDestroyedEvent> listener, Continuation<ListenerSubscription> cont)
EventListener for event ObjectDestroyedEvent. Asynchronous call.
Calls Continuation<ListenerSubscription> when it has been added.listener - Listener to be called on ObjectDestroyedEventcont - Continuation to be called when the listener is registeredvoid removeObjectDestroyedListener(ListenerSubscription listenerSubscription)
ListenerSubscription for event ObjectDestroyedEvent. Synchronous call.listenerSubscription - Listener subscription to be removedvoid removeObjectDestroyedListener(ListenerSubscription listenerSubscription, Continuation<Void> cont)
ListenerSubscription for event ObjectDestroyedEvent. Asynchronous call.
Calls Continuation<Void> when it has been removed.listenerSubscription - Listener subscription to be removedcont - Continuation to be called when the listener is removedCopyright © 2015 Kurento. All rights reserved.