public interface KurentoObject
Modifier and Type | Method and Description |
---|---|
<T extends Event> |
addEventListener(String type,
EventListener<T> listener,
Class<T> eventType) |
String |
getId() |
Object |
invoke(String method,
org.kurento.jsonrpc.Props params,
Type returnType) |
boolean |
isCommited() |
void |
release()
Explicitly release a media object form memory.
|
void |
release(Continuation<Void> continuation)
Explicitly release a media object form memory.
|
void |
release(Transaction tx) |
void |
removeEventListener(ListenerSubscription listener) |
void |
waitCommited() |
void |
whenCommited(Continuation<?> continuation) |
void |
whenCommited(Continuation<?> continuation,
Executor executor) |
boolean isCommited()
void waitCommited() throws InterruptedException
InterruptedException
void whenCommited(Continuation<?> continuation)
void whenCommited(Continuation<?> continuation, Executor executor)
void release()
void release(Continuation<Void> continuation)
continuation
- Continuation.onSuccess(F)
will be called when the actions
complete. Continuation.onError(java.lang.Throwable)
will be called if there is an
exception.void release(Transaction tx)
String getId()
<T extends Event> ListenerSubscription addEventListener(String type, EventListener<T> listener, Class<T> eventType)
void removeEventListener(ListenerSubscription listener)
Copyright © 2022 Kurento. All rights reserved.