private static class FacadeHubService.FacadeHubConnection extends WrapperHubConnection
| Modifier and Type | Field and Description |
|---|---|
private CallableClient |
callable_ |
private Subscriptions |
subs_ |
| Constructor and Description |
|---|
FacadeHubConnection(HubConnection base)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
declareSubscriptions(java.util.Map subs)
Declares this registered client's MType subscriptions.
|
(package private) void |
hubEvent(Message msg)
Sends a given message as a notification, as if from the hub,
to this connection if it is able to receive it.
|
void |
setCallable(CallableClient callable)
Tells the hub how it can perform callbacks on the client by providing
a CallableClient object.
|
call, callAll, callAndWait, declareMetadata, getMetadata, getRegInfo, getRegisteredClients, getSubscribedClients, getSubscriptions, notify, notifyAll, ping, reply, unregisterprivate CallableClient callable_
private Subscriptions subs_
FacadeHubConnection(HubConnection base)
base - base connectionpublic void setCallable(CallableClient callable) throws SampException
HubConnectionsetCallable in interface HubConnectionsetCallable in class WrapperHubConnectioncallable - callable clientSampExceptionpublic void declareSubscriptions(java.util.Map subs)
throws SampException
HubConnectionOnly permitted if this client is already callable.
declareSubscriptions in interface HubConnectiondeclareSubscriptions in class WrapperHubConnectionsubs - Subscriptions-like mapSampExceptionvoid hubEvent(Message msg)
msg - message to send