private class HubClient.NoCallableClient extends java.lang.Object implements CallableClient
| Modifier | Constructor and Description |
|---|---|
private |
NoCallableClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
receiveCall(java.lang.String senderId,
java.lang.String msgId,
Message message)
Receives a message for which a response is required.
|
void |
receiveNotification(java.lang.String senderId,
Message message)
Receives a message for which no response is required.
|
void |
receiveResponse(java.lang.String responderId,
java.lang.String msgId,
Response response)
Receives a response to a message previously sent by this client.
|
private void |
refuse() |
public void receiveNotification(java.lang.String senderId,
Message message)
throws SampException
CallableClientreceiveNotification in interface CallableClientsenderId - public ID of sending clientmessage - messageSampExceptionpublic void receiveCall(java.lang.String senderId,
java.lang.String msgId,
Message message)
throws SampException
CallableClientreply
method at some future point.receiveCall in interface CallableClientsenderId - public ID of sending clientmsgId - message identifier for later use with replymessage - messageSampExceptionpublic void receiveResponse(java.lang.String responderId,
java.lang.String msgId,
Response response)
throws SampException
CallableClientreceiveResponse in interface CallableClientresponderId - public ID of responding clientmsgId - client-defined tag labelling previously-sent messageresponse - returned response objectSampExceptionprivate void refuse()
throws SampException
SampException