@Deprecated public interface ServiceTopicListener
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
service load
message. In response to
such a message the client application should create a
ServiceTopicHandler
using the client connection
method
and declaring a listener of this type to receive all responses and
notifications from the topic.
Modifier and Type | Method and Description |
---|---|
void |
serviceError(ServiceTopicError errorDetails)
Deprecated.
Notifies an error on a service request.
|
void |
serviceResponse(ServiceTopicResponse responseDetails)
Deprecated.
Notifies a response from a service request.
|
void serviceResponse(ServiceTopicResponse responseDetails)
This will return a response from a previous call of
ServiceTopicHandler.request(String, TopicMessage)
.
responseDetails
- encapsulates all details of the responsevoid serviceError(ServiceTopicError errorDetails)
This would indicate that a previous call to
ServiceTopicHandler.request(String, TopicMessage)
has failed for
some reason at the server.
errorDetails
- encapsulates details of the errorCopyright © 2016 Push Technology Ltd. All Rights Reserved.