#import <CSUser.h>
Inherits <NSObject>.
Sent when a registration attempt has failed.
If error.code is CSErrorRedirected, the next registration/unregistration methods (for example didRegisterWithServer or didFailToRegisterWithServer) will be called with a new CSSignalingServer that will be different from the initially configured one.
- Parameters
-
| user | The user sending the message. |
| server | The server being contacted. |
| error | An error object describing the failure. |
| - (void) user: |
|
(CSUser *) |
user |
| didFailToUnregisterWithServer: |
|
(CSSignalingServer *) |
server |
| error: |
|
(NSError *) |
error |
|
|
| |
Sent when an unregistration attempt has failed.
- Parameters
-
| user | The user sending the message. |
| server | The server being contacted. |
| error | An error object describing the failure. |
| - (void) user: |
|
(CSUser *) |
user |
| didReceiveRegistrationResponsePayload: |
|
(NSArray *) |
payloadParts |
| fromServer: |
|
(CSSignalingServer *) |
server |
|
|
| |
Occurs when the registration response payload is received from network.
- Parameters
-
| user | user that the callback is associated with. |
| payloadParts | an array which contains message parts of type CSMessageBodyPart. |
| server | is a server which has sent registration response payload after registration request. |
Sent when the user has been successfully registered.
- Parameters
-
| user | The user sending the message. |
| server | The server being contacted. |
Sent when a registration attempt is started.
- Parameters
-
| user | The user sending the message. |
| server | The server being contacted. |
Sent when an unregistration attempt is started.
- Parameters
-
| user | The user sending the message. |
| server | The server being contacted. |
Sent when the user has been successfully unregistered.
- Parameters
-
| user | The user sending the message. |
| server | The server being contacted. |
| - (void) userDidCompleteUnregistrationWithAllServers: |
|
(CSUser *) |
user |
|
Sent when unregistration is complete.
- Parameters
-
| user | The user sending the message. |
| - (void) userDidFailToRegisterWithAllServers: |
|
(CSUser *) |
user |
| willRetry: |
|
(BOOL) |
flag |
|
|
| |
Sent when all registrations have failed.
- Parameters
-
| user | The user sending the message. |
| flag | Indicates that if Client SDK will retry the failed registration request; False means registration failure is fatal and application must start a new registration after resolving the issue that blocked the registrations from succeeding. |
| - (void) userDidRegisterWithAllServers: |
|
(CSUser *) |
user |
|
Sent when all registrations have been successful.
- Parameters
-
| user | The user sending the message. |
The documentation for this protocol was generated from the following file: