public class AwsSnsService extends Object implements SmsService
| Constructor and Description |
|---|
AwsSnsService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindAwsSnsAsyncHandler(AwsSnsAsyncHandler asyncHandler) |
SmsResponse |
sendSms(SmsRequest smsRequest)
Sends the sms synchronously
|
void |
sendSmsAsync(SmsRequest smsRequest)
Sends the sms asynchronously.
|
protected void |
start(SmsConfig smsConfig) |
protected void |
stop() |
protected void |
unbindAwsSnsAsyncHandler(AwsSnsAsyncHandler asyncHandler) |
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 bindAwsSnsAsyncHandler(AwsSnsAsyncHandler asyncHandler)
protected void unbindAwsSnsAsyncHandler(AwsSnsAsyncHandler asyncHandler)
protected void start(SmsConfig smsConfig)
protected void stop()
Copyright © 2016–2017 AdeptJ. All rights reserved.