DEPRECATED: Diffusion Silverlight Classic API  5.9.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
PushTechnology.Transports.Service.IServiceTopicListener Interface Reference

Listener for responses from a service topic. More...

Public Member Functions

void ServiceResponse (ServiceTopicResponse responseDetails)
 Notifies a response from a service request. More...
 
void ServiceError (ServiceTopicError errorDetails)
 Notifies an error on a service request. More...
 

Detailed Description

Listener for responses from a service topic.

A service topic is one that provides request/response capability. 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 service load message. In response to such a message, the client application should create a ServiceTopicHandler using the client connection's DiffusionClient.CreateServiceTopicHandler( DiffusionInboundTopicMessage, IServiceTopicListener ) method and declaring a listener of this type to receive all responses and notifications from the topic.

Member Function Documentation

void PushTechnology.Transports.Service.IServiceTopicListener.ServiceError ( ServiceTopicError  errorDetails)

Notifies an error on a service request.

This would indicate that a previous call to ServiceTopicHandler.Request has failed for some reason at the server.

Parameters
errorDetails
void PushTechnology.Transports.Service.IServiceTopicListener.ServiceResponse ( ServiceTopicResponse  responseDetails)

Notifies a response from a service request.

This will return a response from a previous call of ServiceTopicHandler.Request( string, DiffusionOutboundTopicMessage ).

Parameters
responseDetailsEncapsulates all of the details of the response.

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