Package ch.astorm.smtp4j.protocol
Interface SmtpTransactionHandler.MessageReceiver
- Enclosing class:
- SmtpTransactionHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a message receiver within the SMTP transaction.
-
Method Summary
Modifier and TypeMethodDescriptionvoidreceiveMessage(SmtpMessage message) Invoked when a message is received.
-
Method Details
-
receiveMessage
Invoked when a message is received.- Parameters:
message- The received message.
-