Interface TransferHandling
public interface TransferHandling
Aspect providing means to handle transfers.
- Since:
- 5.1.25
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
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. -
Field Summary
Modifier and TypeFieldDescriptionstatic final AspectType<TransferHandling>
Aspect providing means to handle transfers. -
Method Summary
Modifier and TypeMethodDescriptionvoid
registerHandlers
(@NotNull TransferHandling.HandlerHost host) Register handler responsible for receiving commodities in a specific context.
-
Field Details
-
TYPE
Aspect providing means to handle transfers.- Since:
- 5.1.25
-
-
Method Details
-
registerHandlers
Register handler responsible for receiving commodities in a specific context.- Parameters:
host
- The host to register at.- Since:
- 5.1.25
-