Interface NotificationEnvelope<T>
- Type Parameters:
T- the destination address type
- All Superinterfaces:
Cloneable, Comparable<NotificationEnvelope<?>>, Serializable
- All Known Implementing Classes:
SMTPEnvelope, VAPIDEnvelope
public interface NotificationEnvelope<T>
extends Serializable, Cloneable, Comparable<NotificationEnvelope<?>>
An interface for notification envelopes.
- Since:
- 10.0
- Version:
- 10.0
- Author:
- Luke
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumAn enumeration of notification protocols. -
Method Summary
Modifier and TypeMethodDescriptiondefault intcompareTo(NotificationEnvelope<?> me) Returns the envelope creation date.Returns the destination address.Returns this envelope's notification protocol.
-
Method Details
-
getEndpoint
-
getCreatedOn
-
getProtocol
NotificationEnvelope.Protocol getProtocol()Returns this envelope's notification protocol.- Returns:
- the Protocol
-
compareTo
- Specified by:
compareToin interfaceComparable<T>
-