public interface ResponseHandler
call or callAll.| Modifier and Type | Method and Description |
|---|---|
boolean |
ownsTag(java.lang.String msgTag)
Indicates whether this handler will process the response with a
given message tag.
|
void |
receiveResponse(HubConnection connection,
java.lang.String responderId,
java.lang.String msgTag,
Response response)
Processes a response to an earlier message.
|
boolean ownsTag(java.lang.String msgTag)
msgTag - tag with which earlier call was labelledmsgTagvoid receiveResponse(HubConnection connection, java.lang.String responderId, java.lang.String msgTag, Response response) throws java.lang.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 objectjava.lang.Exception