DEPRECATED: Diffusion iOS Classic API  5.9.4
 All Data Structures Files Functions Variables Enumerations Enumerator Properties Macros Pages
DFServerDetails Class Reference

An object to contain details required to connect to a single instance of Diffusion. More...

#import <DFServerDetails.h>

Inheritance diagram for DFServerDetails:
Collaboration diagram for DFServerDetails:

Instance Methods

(id) - initWithURL:
 Initialise a DFServerDetails object.
 
(id) - initWithURL:error:
 Initialise a DFServerDetails object.
 
- Instance Methods inherited from DFBaseConnectionProperties
(id) - init
 Basic initialisation method.
 

Properties

NSURL * url
 The URL describing the location of the Diffusion serer.
 
- Properties inherited from DFBaseConnectionProperties
NSNumber * timeout
 Connection timeout in seconds, if unset defers to the defaults object.
 
DFCredentialscredentials
 Optional credentials object, if unset defers to the defaults object.
 
NSString * topicSet
 Comma seperated string of topic names and selectors, if unset defers to the defaults object.
 
DFBaseConnectionPropertiesdefaults
 A set of defaults to draw upon when a property is unset.
 

Detailed Description

An object to contain details required to connect to a single instance of Diffusion.

Method Documentation

- (id) initWithURL: (NSURL *)  url

Initialise a DFServerDetails object.

URLs given must be of the form wss://push.example.com:443. The port number is mandatory as no default port number is assumed.

Parameters
urlURL of the required Diffusion server. Supported schemes: "ws", "wss", "dpt" and "dpts".
Returns
an initialiased DFServerDetails object
Exceptions
DFExceptionif the URL scheme is unsupported or is missing the port number.
Deprecated:
in favor of [initWithURL:error:]
- (id) initWithURL: (NSURL *)  url
error: (NSError *__autoreleasing *)  error 

Initialise a DFServerDetails object.

URLs given must be of the form wss://push.example.com:443. The port number is mandatory as no default port number is assumed.

Parameters
urlURL of the required Diffusion server. Supported schemes: "ws", "wss", "dpt" and "dpts".
errorError object to populate in the possibility that is method call should fail
Returns
an initialiased DFServerDetails object, or nil in case of error

The documentation for this class was generated from the following file: