Package mireka.destination
Interface ResponsibleDestination
-
- All Superinterfaces:
Destination
- All Known Subinterfaces:
MailDestination,SessionDestination
- All Known Implementing Classes:
ForwardDestination,ListDestination,MaildropDestination,NullDestination,RelayDestination,SrsDestination,TransformDestination,TransmitterDestination,UnknownRecipientDestination
public interface ResponsibleDestination extends Destination
ResponsibleDestination is a Destination which takes complete responsibility for the delivery of the mail. This is in contrast with theAliasDestinationwhich is similar to a link in a file system.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(Object obj)Returns true if the other object specifies the same destination.inthashCode()Returns the hash code value for the object, conforming to theequals(Object)function.StringtoString()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:
equalsin classObject
-
hashCode
int hashCode()
Returns the hash code value for the object, conforming to theequals(Object)function.- Overrides:
hashCodein classObject
-
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:
toStringin classObject
-
-