forked from finagle/finagle-smtp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReplyGroups.scala
26 lines (20 loc) · 1.09 KB
/
ReplyGroups.scala
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package io.github.finagle.smtp.reply
/* Differentiating by success */
trait PositiveCompletionReply extends Reply
trait PositiveIntermediateReply extends Reply
trait TransientNegativeCompletionReply extends Error
trait PermanentNegativeCompletionReply extends Error
/* Differentiating by context */
trait SyntaxReply extends Reply
trait InformationReply extends Reply
trait ConnectionsReply extends Reply
trait MailSystemReply extends Reply
/* Replies by groups */
trait SyntaxErrorReply extends PermanentNegativeCompletionReply with SyntaxReply
trait SystemInfoReply extends PositiveCompletionReply with InformationReply
trait ServiceInfoReply extends PositiveCompletionReply with ConnectionsReply
trait NotAvailableReply extends TransientNegativeCompletionReply with ConnectionsReply
trait MailOkReply extends PositiveCompletionReply with MailSystemReply
trait MailIntermediateReply extends PositiveIntermediateReply with MailSystemReply
trait MailErrorReply extends TransientNegativeCompletionReply with MailSystemReply
trait ActionErrorReply extends TransientNegativeCompletionReply with MailSystemReply