Interface TransferHandling.HandlerHost
- Enclosing interface:
- TransferHandling
public static interface TransferHandling.HandlerHost
Host that dispatches transfers to registered handlers in a bulk manner, i.e., if the targeted object is registered,
and any of the types to be handled are supported by a transfer, all registered types' data will be resolved and handed
to the handler for further processing.
- Since:
- 5.1.25
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A transfer handler. -
Method Summary
Modifier and TypeMethodDescriptionvoid
registerHandler
(@NotNull TransferHandling.HandlerHost.Handler handler, @NotNull Collection<TransferType<?>> types) Registers a handler receiving all transfer type-mapped commodities.
-
Method Details
-
registerHandler
void registerHandler(@NotNull @NotNull TransferHandling.HandlerHost.Handler handler, @NotNull @NotNull Collection<TransferType<?>> types) Registers a handler receiving all transfer type-mapped commodities.- Parameters:
handler
- The handler to be registered.types
- The transfer types to be handled by the given handler.- Since:
- 5.1.25
-