Messaging is a better alternative to service topics for sending point-to-point requests.
@Deprecated public interface ServiceHandler
ServiceTopicData
.
Modifier and Type | Method and Description |
---|---|
ServiceResponse |
serviceRequest(ServiceRequest request)
Deprecated.
Execute a service request received from a client via
ServiceTopicData . |
ServiceResponse serviceRequest(ServiceRequest request) throws ServiceException
ServiceTopicData
.request
- the details of the request.ServiceTopicData.serviceResponse(ServiceResponse)
or an
error reported using
ServiceTopicData.serviceError(String, String, String, Throwable)
)ServiceException
- may be thrown to indicate that the execution of
the request has failedCopyright © 2016 Push Technology Ltd. All Rights Reserved.