public class AwsSnsService extends Object implements SmsService
| Constructor and Description |
|---|
AwsSnsService() |
| Modifier and Type | Method and Description |
|---|---|
SmsResponse |
sendSms(SmsRequest smsRequest)
Sends the sms synchronously
|
void |
sendSmsAsync(SmsRequest smsRequest)
Sends the sms asynchronously.
|
protected void |
start(SmsConfig smsConfig) |
protected void |
stop() |
public SmsResponse sendSms(SmsRequest smsRequest)
SmsServicesendSms in interface SmsServicesmsRequest - contains requisite data by AWS SNSpublic void sendSmsAsync(SmsRequest smsRequest)
SmsServicesendSmsAsync in interface SmsServicesmsRequest - contains requisite data by AWS SNSprotected void start(SmsConfig smsConfig)
protected void stop()
Copyright © 2016–2017 AdeptJ. All rights reserved.