Package org.kurento.client
Interface KurentoObject
-
- All Known Subinterfaces:
AlphaBlending
,BaseRtpEndpoint
,Composite
,Dispatcher
,DispatcherOneToMany
,Endpoint
,FaceOverlayFilter
,Filter
,GenericMediaElement
,GStreamerFilter
,HttpEndpoint
,HttpPostEndpoint
,Hub
,HubPort
,ImageOverlayFilter
,MediaElement
,MediaObject
,MediaPipeline
,Mixer
,OpenCVFilter
,PassThrough
,PlayerEndpoint
,RecorderEndpoint
,RtpEndpoint
,SdpEndpoint
,ServerManager
,SessionEndpoint
,UriEndpoint
,WebRtcEndpoint
,ZBarFilter
public interface KurentoObject
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends Event>
ListenerSubscriptionaddEventListener(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)
-
-
-
Method Detail
-
isCommited
boolean isCommited()
-
waitCommited
void waitCommited() throws InterruptedException
- Throws:
InterruptedException
-
whenCommited
void whenCommited(Continuation<?> continuation)
-
whenCommited
void whenCommited(Continuation<?> continuation, Executor executor)
-
release
void release()
Explicitly release a media object form memory. All of its children will also be released.
-
release
void release(Continuation<Void> continuation)
Explicitly release a media object form memory. All of its children will also be released. Asynchronous call.- Parameters:
continuation
-Continuation.onSuccess(F)
will be called when the actions complete.Continuation.onError(java.lang.Throwable)
will be called if there is an exception.
-
release
void release(Transaction tx)
-
getId
String getId()
-
addEventListener
<T extends Event> ListenerSubscription addEventListener(String type, EventListener<T> listener, Class<T> eventType)
-
removeEventListener
void removeEventListener(ListenerSubscription listener)
-
-