| java.lang.Object org.directwebremoting.export.System
System | public class System (Code) | | Various functions exported by DWR to help us with various book-keeping
duties.
author: Joe Walker [joe at getahead dot ltd dot uk] |
Inner Class :protected class BrowserMessageListener implements MessageListener | |
activateCallback | public void activateCallback(String key, RawData data)(Code) | | Used by reverse ajax proxies to send data back to the server
Parameters: key - The unique id under which a callback is registered Parameters: data - The data to decode and pass to the callback |
pageLoaded | public void pageLoaded()(Code) | | A method designed to be called on page load so the client knows about
the http and script sessions. This method doesn't actually do anything
however it does allow DWR's script session checking code to work
|
publish | public void publish(String topic, RawData data)(Code) | | Something has published to the client side 'hub' and we're getting to
know about it.
Parameters: topic - The topic that has been published to Parameters: data - The published data |
subscribe | public void subscribe(String topic, String subscriptionId)(Code) | | Ensure that the clients know about server publishes
Parameters: topic - The topic being subscribed to Parameters: subscriptionId - The ID to pass back to link to client side data |
unsubscribe | public boolean unsubscribe(String subscriptionId)(Code) | | Stop notifications of against a subscription id
Parameters: subscriptionId - The ID to pass back to link to client side data true iff someone was unsubscribed |
|
|