Interface TransferHandling.HandlerHost.Handler

Enclosing interface:
TransferHandling.HandlerHost

public static interface TransferHandling.HandlerHost.Handler
A transfer handler.
Since:
5.1.25
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    handle(@NotNull SpecialistsBroker feededBroker, @NotNull CommodityContainer commodities)
    Handle the given transfers.
  • Method Details

    • handle

      boolean handle(@NotNull @NotNull SpecialistsBroker feededBroker, @NotNull @NotNull CommodityContainer commodities) throws TransferException
      Handle the given transfers.
      Parameters:
      feededBroker - A specialists broker, which supports operations with client-interaction.
      commodities - A map containing transfer type-mapped commodities.
      Throws:
      TransferException - If the transfer failed for any reason.
      Since:
      5.1.25