Package mireka.forward
Class SrsDestination
- Object
-
- mireka.forward.SrsDestination
-
- All Implemented Interfaces:
Destination,ResponsibleDestination,SessionDestination
public class SrsDestination extends Object implements SessionDestination
An SrsDestination assigned to a recipient indicates that the mail must be forwarded to a remote address, which is specified in the Sender Rewriting Scheme (SRS) compatible local part of the recipient address. These mails are delivery status notifications related to a mail forwarded by this mail server previously.
-
-
Constructor Summary
Constructors Constructor Description SrsDestination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessioncreateSession()Creates a session object which will be notified about all steps of an SMTP mail transaction.SrsgetSrs()TransmittergetTransmitter()voidsetSrs(Srs srs)voidsetTransmitter(Transmitter transmitter)StringtoString()Returns a string representation of the destination suitable for logging purposes.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface mireka.destination.ResponsibleDestination
equals, hashCode
-
-
-
-
Method Detail
-
createSession
public Session createSession()
Description copied from interface:SessionDestinationCreates a session object which will be notified about all steps of an SMTP mail transaction.- Specified by:
createSessionin interfaceSessionDestination
-
toString
public String toString()
Description copied from interface:ResponsibleDestinationReturns a string representation of the destination suitable for logging purposes. Usually it should contain enough information to show the difference between non-equal destinations.- Specified by:
toStringin interfaceResponsibleDestination- Overrides:
toStringin classObject
-
setSrs
@Inject public void setSrs(Srs srs)
- Category:
- GETSET
-
getSrs
public Srs getSrs()
- Category:
- GETSET
-
getTransmitter
public Transmitter getTransmitter()
- Category:
- GETSET
-
setTransmitter
@Inject public void setTransmitter(Transmitter transmitter)
- Category:
- GETSET
-
-