DEPRECATED: Diffusion iOS Classic API  5.9.4
 All Data Structures Files Functions Variables Enumerations Enumerator Properties Macros Pages
<DFServiceTopicDelegate> Protocol Referenceabstract

Listener for responses from a Service Topic. More...

#import <DFServiceTopicDelegate.h>

Inheritance diagram for <DFServiceTopicDelegate>:
Collaboration diagram for <DFServiceTopicDelegate>:

Instance Methods

(void) - serviceResponse:
 Notifies a response from a service request.
 
(void) - serviceError:
 Notifies an error on a service request.
 

Detailed Description

Listener for responses from a Service Topic.

A Service Topic is one that provides request/response capability (see ServiceTopicData). When a Client subscribes to a Service Topic then a Topic Load Message will be received by the Client that indicates that it is a TopicMessage::isServiceLoad() Service Load Message. In response to such a Message the Client application should create a ServiceTopicHandler using the Client connection ExternalClientConnection::createServiceTopicHandler(TopicMessage, ServiceTopicListener) method and declaring a listener of this type to receive all responses and notifications from the Topic.

Author
pwalsh - created 1 Dec 2011
Since
4.1

Method Documentation

- (void) serviceError: (DFServiceTopicError *)  errorDetails

Notifies an error on a service request.

This would indicate that a previous call to ServiceTopicHandler::request(String, TopicMessage) has failed for some reason at the server.

Parameters
errorDetailsencapsulates details of the error
- (void) serviceResponse: (DFServiceTopicResponse *)  responseDetails

Notifies a response from a service request.

This will return a response from a previous call of ServiceTopicHandler::request(String, TopicMessage).

Parameters
responseDetailsencapsulates all details of the response.

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