Class ReputationEngine

    • Field Detail

      • clientServerEventBus

        @Autowired
        @Qualifier("serverClientEventBus")
        private com.google.common.eventbus.AsyncEventBus clientServerEventBus
      • map

        @Autowired
        private IMap map
    • Constructor Detail

      • ReputationEngine

        public ReputationEngine()
    • Method Detail

      • getChildren

        public java.util.List<AbstractEngine> getChildren()
        Description copied from class: AbstractEngine
        Any engine may hold various child engines. This is the way to retrieve them. If there are no child engines, return an empty list. Subclasses have to implement this in the proper way.
        Specified by:
        getChildren in class AbstractEngine
        Returns:
        list of child engines.
      • initialize

        @PostConstruct
        private void initialize()
      • destroy

        @PreDestroy
        private void destroy()
      • handlePirateDefeated

        public void handlePirateDefeated​(ShipAttackEvent event)
      • handlePirateDefeated

        public void handlePirateDefeated​(ShipDefenseEvent event)