Class CommoditiesTradeAdapter

    • Constructor Detail

      • CommoditiesTradeAdapter

        public CommoditiesTradeAdapter​(TradeAdapter tradeAdapter)
    • Method Detail

      • registerCommoditiesSettlementTradeListenerFactory

        public void registerCommoditiesSettlementTradeListenerFactory​(CommoditiesSettlementTradeListenerFactory factory)
        Registers a factory that will listen to Commodities Settlement Trade workflows initiated from the client.
        Parameters:
        factory - the factory that will be asked to create the CommoditiesSettlementTradeListener
      • registerCommoditiesTradeConfirmationProvider

        public void registerCommoditiesTradeConfirmationProvider​(CachedMessageProvider<TradeSubjectInfo> provider)
        Registers a provider that is capable of responding to Commodities trade confirmation requests.
        Parameters:
        provider - the CachedMessageProvider that will receive the Commodities trade confirmation requests
      • registerCommoditiesInvoiceProvider

        public void registerCommoditiesInvoiceProvider​(CachedMessageProvider<TradeSubjectInfo> provider)
        Registers a provider that is capable of responding to Commodities invoice requests.
        Parameters:
        provider - the CachedMessageProvider that will receive the Commodities invoice requests