Interface ResponsibleDestination

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean equals​(Object obj)
      Returns true if the other object specifies the same destination.
      int hashCode()
      Returns the hash code value for the object, conforming to the equals(Object) function.
      String toString()
      Returns a string representation of the destination suitable for logging purposes.
    • Method Detail

      • equals

        boolean equals​(Object obj)
        Returns true if the other object specifies the same destination. If several recipients has the same destination, then all those recipients are sent to a single destination object. In this case the destination object will process a mail with several recipients.
        Overrides:
        equals in class Object
      • hashCode

        int hashCode()
        Returns the hash code value for the object, conforming to the equals(Object) function.
        Overrides:
        hashCode in class Object
      • toString

        String toString()
        Returns a string representation of the destination suitable for logging purposes. Usually it should contain enough information to show the difference between non-equal destinations.
        Overrides:
        toString in class Object