public abstract class SnsMessage extends Object
Modifier and Type | Method and Description |
---|---|
String |
getMessageId() |
Date |
getTimestamp() |
String |
getTopicArn() |
abstract void |
handle(SnsMessageHandler handler)
Calls the appropriate 'handle' method on
SnsMessageHandler depending on the subtype. |
public String getMessageId()
public String getTopicArn()
public Date getTimestamp()
public abstract void handle(SnsMessageHandler handler)
SnsMessageHandler
depending on the subtype.handler
- Handler to deliver message to.