CallStatusResponse.h.
More...
#include <CallStatusResponse.h>
List of all members.
Public Member Functions |
| CallStatusResponse * | initWith:withStateA:withStateB:withConnectionA:withConnectionB:withReasonA:withReasonB:withDescriptionA:withDescriptionB:withBe164:withBindex: (TelekomServiceStatusResponse *newStatus,[withStateA] NSString *stateA,[withStateB] NSString *stateB,[withConnectionA] NSString *connectionA,[withConnectionB] NSString *connectionB,[withReasonA] NSString *reasonA,[withReasonB] NSString *reasonB,[withDescriptionA] NSString *descriptionA,[withDescriptionB] NSString *descriptionB,[withBe164] NSString *be164,[withBindex] NSString *bindex) |
Properties |
| NSString * | myStateA |
| NSString * | myStateB |
| NSString * | myConnectionTimeA |
| NSString * | myConnectionTimeB |
| NSString * | myReasonA |
| NSString * | myReasonB |
| NSString * | myDescriptionA |
| NSString * | myDescriptionB |
| NSString * | myBe164 |
| NSString * | myBindex |
Detailed Description
CallStatusResponse.h.
Receives a new server response and creates a new specifical call status response about the curren call status.
Member Function Documentation
| CallStatusResponse * CallStatusResponse::initWith:withStateA:withStateB:withConnectionA:withConnectionB:withReasonA:withReasonB:withDescriptionA:withDescriptionB:withBe164:withBindex: |
( |
TelekomServiceStatusResponse* |
newStatus, |
|
|
[withStateA] NSString* |
stateA, |
|
|
[withStateB] NSString* |
stateB, |
|
|
[withConnectionA] NSString* |
connectionA, |
|
|
[withConnectionB] NSString* |
connectionB, |
|
|
[withReasonA] NSString* |
reasonA, |
|
|
[withReasonB] NSString* |
reasonB, |
|
|
[withDescriptionA] NSString* |
descriptionA, |
|
|
[withDescriptionB] NSString* |
descriptionB, |
|
|
[withBe164] NSString* |
be164, |
|
|
[withBindex] NSString* |
bindex |
|
) |
| [virtual] |
Processes the received answer with given parameters
- Parameters:
-
| newStatus | current server status response |
| stateA | connection status of first participant
-
IDLE the call has not been established yet
-
CONNECTING the participant is called
-
RINGING the phone of the participant is ringing
-
CONNECTED the participant is now connected
-
DISCONNECTING the connection end is in progress
-
DISCONNECTED the connection is ended
|
| stateB | connection status of second participant
-
IDLE the call has not been established yet
-
CONNECTING the participant is called
-
RINGING the phone of the participant is ringing
-
CONNECTED the participant is now connected
-
DISCONNECTING the connection end is in progress
-
DISCONNECTED the connection is ended
|
| connectionA | call of first participant in seconds -1 means, call has not been started yet |
| connectionB | call of second participant in seconds -1 means, call has not been started yet |
| reasonA | reason for connection failure
-
0 call has not ended yet.
-
1 participant is busy
-
2 participant has not accepted the call
-
3 participant did not pick up the phone
-
4 participant is not reachable due to provider restrictions
-
99 internal server error
|
| reasonB | reason for connection failure
-
0 call has not ended yet.
-
1 participant is busy
-
2 participant has not accepted the call
-
3 participant did not pick up the phone
-
4 participant is not reachable due to provider restrictions
-
99 internal server error
|
| descriptionA | english description of reasonA |
| descriptionB | english description of reasonB |
| be164 | phone number of second participant who was called earlier ("0" for first b-number, "1" for second b-number etc.) |
| bindex | index of phone number of second participant who was called earlier ("0" for first b-number, "1" for second b-number etc.) |
- Returns:
- callStatusResponse new status object
Property Documentation
NSString* CallStatusResponse::myBe164 [read, write, retain] |
NSString* CallStatusResponse::myBindex [read, write, retain] |
NSString* CallStatusResponse::myConnectionTimeA [read, write, retain] |
NSString* CallStatusResponse::myConnectionTimeB [read, write, retain] |
NSString* CallStatusResponse::myDescriptionA [read, write, retain] |
NSString* CallStatusResponse::myDescriptionB [read, write, retain] |
NSString* CallStatusResponse::myReasonA [read, write, retain] |
NSString* CallStatusResponse::myReasonB [read, write, retain] |
NSString* CallStatusResponse::myStateA [read, write, retain] |
NSString* CallStatusResponse::myStateB [read, write, retain] |
The documentation for this class was generated from the following files: