![]() |
DEPRECATED: Diffusion Silverlight Classic API
5.9.4
|
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... | |
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.
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.
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 ).
responseDetails | Encapsulates all of the details of the response. |