Interface SupplierHost<D>
- Type Parameters:
D
- The type of supplyable data objects.
public interface SupplierHost<D>
Host that enables transfers from registered suppliers.
- Since:
- 5.2.16
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A supplier providing a specific commodity type. -
Method Summary
Modifier and TypeMethodDescription<A> void
registerSupplier
(TransferType<A> type, SupplierHost.Supplier<D, A> supplier) Registers a supplier for the hosted gadget itself.
-
Method Details
-
registerSupplier
Registers a supplier for the hosted gadget itself.- Type Parameters:
A
- The type of the commodity for transfer.- Parameters:
type
- The type of transfer being registered.supplier
- The supplier to be registered.- Since:
- 5.2.16
-