![]() |
DEPRECATED: Diffusion iOS Classic API
5.9.4
|
An object to contain details required to connect to a single instance of Diffusion. More...
#import <DFServerDetails.h>
Instance Methods | |
(id) | - initWithURL: |
Initialise a DFServerDetails object. | |
(id) | - initWithURL:error: |
Initialise a DFServerDetails object. | |
![]() | |
(id) | - init |
Basic initialisation method. | |
Properties | |
NSURL * | url |
The URL describing the location of the Diffusion serer. | |
![]() | |
NSNumber * | timeout |
Connection timeout in seconds, if unset defers to the defaults object. | |
DFCredentials * | credentials |
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. | |
DFBaseConnectionProperties * | defaults |
A set of defaults to draw upon when a property is unset. | |
An object to contain details required to connect to a single instance of Diffusion.
- (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.
url | URL of the required Diffusion server. Supported schemes: "ws", "wss", "dpt" and "dpts". |
DFException | if the URL scheme is unsupported or is missing the port number. |
- (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.
url | URL of the required Diffusion server. Supported schemes: "ws", "wss", "dpt" and "dpts". |
error | Error object to populate in the possibility that is method call should fail |