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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A supplier providing a specific commodity type.
  • Method Summary

    Modifier and Type
    Method
    Description
    <A> void
    Registers a supplier for the hosted gadget itself.
  • Method Details

    • registerSupplier

      <A> void registerSupplier(TransferType<A> type, SupplierHost.Supplier<D,A> supplier)
      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