ObjectiveC SDK  2.0
Public Member Functions | Protected Attributes
SendSmsClient Class Reference

SendSmsClient.h. More...

#include <SendSmsClient.h>

Inheritance diagram for SendSmsClient:
TelekomServiceClient

List of all members.

Public Member Functions

SendSmsClientinitWith:: (STSToken *givenToken,[] NSString *givenEnvironment)
SendSmsClientinitWith:givenUsername:givenPassword: (NSString *,[givenUsername] NSString *,[givenPassword] NSString *givenEnvironment)
SendSmsResponsesendSMS:givenUsername:givenRecipient:givenMessage:givenOriginator: (NSString *,[givenUsername] NSString *,[givenRecipient] NSString *,[givenMessage] NSString *,[givenOriginator] NSString *flashOK)

Protected Attributes

int serviceNumber

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:
givenTokenreceived security token
givenEnvironmentgiven 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:
givenTokenreceived security token
givenEnvironmentgiven 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:
givenUsernamecurrent username
givenPasswordcurrent password
givenMessagecurrent textmessage
givenOriginatorcurrent originators phone number
flashOKcurrent flash status (true or false)
Returns:
new response object

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Properties