Interface TransferHandler.SupplierHost<T>

Type Parameters:
T - The type of handled objects.
Enclosing interface:
TransferHandler<T>

public static interface TransferHandler.SupplierHost<T>
Host that enables transfers from registered suppliers.
Since:
5.1.19
  • Method Details

    • registerSupplier

      <A> void registerSupplier(TransferType<A> type, TransferHandler.SupplierHost.Supplier<T,A> supplier)
      Registers a supplier for the hosted gadget itself.
      Type Parameters:
      A - The type of transferred commodity.
      Parameters:
      type - The type of transfer being registered.
      supplier - The supplier to be registered.
      Since:
      5.1.19