Package io.joynr.provider
Class MultiValueDeferred
- java.lang.Object
-
- io.joynr.provider.AbstractDeferred
-
- io.joynr.provider.MultiValueDeferred
-
public class MultiValueDeferred extends AbstractDeferred
Concrete implementation of theAbstractDeferredclass which permits an array of values to be passed in, for example if representing the result of a multi-out method call.
-
-
Constructor Summary
Constructors Constructor Description MultiValueDeferred()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanresolve(Object... values)Deliberately passes the values straight through to the abstract deferred so that they will be resolved as multiple values.-
Methods inherited from class io.joynr.provider.AbstractDeferred
addListener, getError, getValues, isFulfilled, isRejected, isSettled, reject, reject
-
-
-
-
Method Detail
-
resolve
public boolean resolve(Object... values)
Deliberately passes the values straight through to the abstract deferred so that they will be resolved as multiple values.- Overrides:
resolvein classAbstractDeferred- Parameters:
values- the result which resolves the Deferred.- Returns:
trueif the resolution was successful,falseotherwise.
-
-