public class AbstractBuilder<T> extends Object
<T> object, either synchronously using build() or
asynchronously using buildAsync(org.kurento.client.Continuation<T>)| Constructor and Description |
|---|
AbstractBuilder(Class<?> clazz,
KurentoObject kurentoObject) |
AbstractBuilder(Class<?> clazz,
RomManager manager) |
| Modifier and Type | Method and Description |
|---|---|
T |
build()
Builds an object synchronously using the builder design pattern
|
T |
build(Transaction transaction) |
void |
buildAsync(Continuation<T> continuation)
Builds an object asynchronously using the builder design pattern.
|
protected final Props props
public AbstractBuilder(Class<?> clazz, KurentoObject kurentoObject)
public AbstractBuilder(Class<?> clazz, RomManager manager)
public T build()
public T build(Transaction transaction)
public void buildAsync(Continuation<T> continuation)
Continuation.onSuccess(F) called when the
object is ready, or Continuation.onError(java.lang.Throwable) if an error occurscontinuation - will be called when the object is builtCopyright © 2015 Kurento. All rights reserved.