DEPRECATED: Diffusion iOS Classic API  5.9.4
 All Data Structures Files Functions Variables Enumerations Enumerator Properties Macros Pages
DFClient.h File Reference

Defines the interfaces providing the main access to the Diffusion client library for iOS. More...

#import "DFConnectionDetails.h"
#import "DFClientDelegate.h"
#import "DFPingMessage.h"
#import "DFTopicMessage.h"
#import "DFTopicListenerDelegate.h"
#import "DFCredentials.h"
#import "DFServiceTopicHandler.h"
#import "DFPagedTopicHandler.h"
#import "DFPagedTopicDelegate.h"
#import "DFTopicNotifyTopicDelegate.h"
#import "DFTopicNotifyTopicHandler.h"
Include dependency graph for DFClient.h:

Go to the source code of this file.

Data Structures

class  DFClient
 The main access to the Diffusion Client. More...
 

Enumerations

enum  {
  DFClientErrorConnectionFailed = 1, DFClientErrorConnectionLost = 2, DFClientErrorConnectionRejected = 3, DFClientErrorCredentialsRejected = 4,
  DFClientErrorTransportCouldNotBeCreated = 5, DFClientErrorTransportFailed = 6
}
 The code supplied with NSError objects created by the client library. More...
 

Variables

NSString *const DFClientErrorDomain
 The domain supplied with NSError objects created by the client library.
 
NSString *const DFClientUnderlyingExceptionKey
 The userInfo key supplied with some NSError objects by the client library when they represent an underlying NSException.
 

Detailed Description

Defines the interfaces providing the main access to the Diffusion client library for iOS.

Enumeration Type Documentation

anonymous enum

The code supplied with NSError objects created by the client library.

Objects conforming to DFClientDelegate that implement onConnectionFailedWithError: will see these codes.

Enumerator:
DFClientErrorConnectionFailed 

Protocol negotiation with the Diffusion server failed upon initial connection.

DFClientErrorConnectionLost 

The connection to the Diffusion server was lost.

DFClientErrorConnectionRejected 

Connection to the Diffusion server was rejected.

DFClientErrorCredentialsRejected 

Connection to the Diffusion server was rejected due to invalid credentials being supplied.

DFClientErrorTransportCouldNotBeCreated 

A suitable client transport could not be created to communicate with the Diffusion server.

DFClientErrorTransportFailed 

The client transport failed before or during communication with the Diffusion server.

Variable Documentation

NSString* const DFClientErrorDomain

The domain supplied with NSError objects created by the client library.

Some errors generated by the client library will include an iOS-provided NSUnderlyingErrorKey in the error's userInfo dictionary.

NSString* const DFClientUnderlyingExceptionKey

The userInfo key supplied with some NSError objects by the client library when they represent an underlying NSException.

The value associated with this key in the userInfo dictionary is an NSException object.