public interface ResponseHandler
call or callAll.| Modifier and Type | Method and Description | 
|---|---|
| boolean | ownsTag(String msgTag)Indicates whether this handler will process the response with a
 given message tag. | 
| void | receiveResponse(HubConnection connection,
               String responderId,
               String msgTag,
               Response response)Processes a response to an earlier message. | 
boolean ownsTag(String msgTag)
msgTag - tag with which earlier call was labelledmsgTagvoid receiveResponse(HubConnection connection, String responderId, String msgTag, Response response) throws Exception
msgTag values which return 
 true from ownsTag(java.lang.String).connection - hub connectionresponderId - client id of client sending responsemsgTag - message tag from previous callresponse - response objectExceptionCopyright © 2008–2024. All rights reserved.