private class UrlTrackerHubConnection.UrlTrackerCallableClient extends java.lang.Object implements CallableClient
Modifier and Type | Field and Description |
---|---|
private CallableClient |
baseCallable_ |
Constructor and Description |
---|
UrlTrackerCallableClient(CallableClient baseCallable)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
receiveCall(java.lang.String senderId,
java.lang.String msgId,
Message msg)
Receives a message for which a response is required.
|
void |
receiveNotification(java.lang.String senderId,
Message msg)
Receives a message for which no response is required.
|
void |
receiveResponse(java.lang.String responderId,
java.lang.String msgTag,
Response response)
Receives a response to a message previously sent by this client.
|
private final CallableClient baseCallable_
UrlTrackerCallableClient(CallableClient baseCallable)
baseCallable
- object on which this one is basedpublic void receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg) throws java.lang.Exception
CallableClient
reply
method at some future point.receiveCall
in interface CallableClient
senderId
- public ID of sending clientmsgId
- message identifier for later use with replymsg
- messagejava.lang.Exception
public void receiveNotification(java.lang.String senderId, Message msg) throws java.lang.Exception
CallableClient
receiveNotification
in interface CallableClient
senderId
- public ID of sending clientmsg
- messagejava.lang.Exception
public void receiveResponse(java.lang.String responderId, java.lang.String msgTag, Response response) throws java.lang.Exception
CallableClient
receiveResponse
in interface CallableClient
responderId
- public ID of responding clientmsgTag
- client-defined tag labelling previously-sent messageresponse
- returned response objectjava.lang.Exception