Class AddressHandlerAdapter<A>

    • Constructor Detail

      • AddressHandlerAdapter

        protected AddressHandlerAdapter()
        Create a new instance which will try to detect the types to match out of the type parameter of the class.
      • AddressHandlerAdapter

        protected AddressHandlerAdapter​(Class<? extends A> addressType)
        Create a new instance
        addressType - the type of messages to match
    • Method Detail

      • acceptAddress

        protected boolean acceptAddress​(Address address)
        Returns true if the given address should be handled, false otherwise.