Class AbstractBuilder<T>
java.lang.Object
org.kurento.client.AbstractBuilder<T>
- Type Parameters:
T- the type of object to build
- Direct Known Subclasses:
AlphaBlending.Builder, Composite.Builder, Dispatcher.Builder, DispatcherOneToMany.Builder, FaceOverlayFilter.Builder, GenericMediaElement.Builder, GStreamerFilter.Builder, HttpPostEndpoint.Builder, HubPort.Builder, ImageOverlayFilter.Builder, Mixer.Builder, PassThrough.Builder, PlayerEndpoint.Builder, RecorderEndpoint.Builder, RtpEndpoint.Builder, WebRtcEndpoint.Builder, ZBarFilter.Builder
Kurento Media Builder base interface. Builds a
<T> object, either synchronously using
build() or asynchronously using buildAsync(Continuation)-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.kurento.jsonrpc.Propsprotected final org.kurento.jsonrpc.Props -
Constructor Summary
ConstructorsConstructorDescriptionAbstractBuilder(Class<?> clazz, org.kurento.client.internal.client.RomManager manager) AbstractBuilder(Class<?> clazz, KurentoObject kurentoObject) -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an object synchronously using the builder design pattern.build(Transaction transaction) voidbuildAsync(Continuation<T> continuation) Builds an object asynchronously using the builder design pattern.withProperties(Properties properties)
-
Field Details
-
props
protected final org.kurento.jsonrpc.Props props -
genericProperties
protected final org.kurento.jsonrpc.Props genericProperties
-
-
Constructor Details
-
AbstractBuilder
-
AbstractBuilder
-
-
Method Details
-
build
Builds an object synchronously using the builder design pattern.- Returns:
- T The type of object
-
build
-
buildAsync
Builds an object asynchronously using the builder design pattern.The continuation will have
Continuation.onSuccess(F)called when the object is ready, orContinuation.onError(Throwable)if an error occurs- Parameters:
continuation- will be called when the object is built
-
withProperties
-
with
-