SendSmsClient.h.
More...
#include <SendSmsClient.h>
List of all members.
Detailed Description
SendSmsClient.h.
The SMS client handles the credentials and triggers the SendSmsService to send the SMS with the given parameters and the received token.
Member Function Documentation
| SendSmsClient * SendSmsClient::initWith:: |
( |
STSToken* |
givenToken, |
|
|
[] NSString* |
givenEnvironment |
|
) |
| [virtual] |
Initializes new service client with given token and environment.
- Parameters:
-
| givenToken | received security token |
| givenEnvironment | given environment (e.g. production) |
- Returns:
- SendSmsClient new client object
| SendSmsClient* SendSmsClient::initWith:givenUsername:givenPassword: |
( |
NSString * |
, |
|
|
[givenUsername] NSString * |
, |
|
|
[givenPassword] NSString * |
givenEnvironment |
|
) |
| [virtual] |
Initializes new service client with given username, password and environment.
- Parameters:
-
| givenToken | received security token |
| givenEnvironment | given environment (e.g production) |
- Returns:
- SendSmsClient new client object containing token and environment information
| SendSmsResponse* SendSmsClient::sendSMS:givenUsername:givenRecipient:givenMessage:givenOriginator: |
( |
NSString * |
, |
|
|
[givenUsername] NSString * |
, |
|
|
[givenRecipient] NSString * |
, |
|
|
[givenMessage] NSString * |
, |
|
|
[givenOriginator] NSString * |
flashOK |
|
) |
| [virtual] |
Method actually sends the SMS with given parameters and token via SendSmsService class.
- Parameters:
-
| givenUsername | current username |
| givenPassword | current password |
| givenMessage | current textmessage |
| givenOriginator | current originators phone number |
| flashOK | current flash status (true or false) |
- Returns:
- new response object
Member Data Documentation
The documentation for this class was generated from the following files: