Package net.officefloor.reactor
Class AbstractSubscription<T>
java.lang.Object
net.officefloor.reactor.AbstractSubscription<T>
- Direct Known Subclasses:
FluxSubscription,MonoSubscription
Abstract
MethodReturnTranslator.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidaddSuccess(T success) Adds the success.Obtains the completion.getError()Obtain the errorConsumer.protected abstract ObjectObtains the nextManagedFunctionargument.Obtains the successConsumer.
-
Constructor Details
-
AbstractSubscription
Instantiate.- Parameters:
context-ManagedFunctionContext.
-
-
Method Details
-
addSuccess
Adds the success.- Parameters:
success- Success.
-
getNextFunctionArgument
Obtains the nextManagedFunctionargument.- Returns:
- Next
ManagedFunctionargument.
-
getSuccess
Obtains the successConsumer.- Returns:
- Success
Consumer.
-
getError
Obtain the errorConsumer.- Returns:
- Error
Consumer.
-
getCompletion
Obtains the completion.- Returns:
- Completion.
-