Login Register Help
API Documentation
Choose a stylesheet:

Constructordojox.cometd.RestChannels

dojo.require("dojox.cometd.RestChannels");
defined in dojox/cometd/RestChannels.js
Initiates the REST Channels protocol

Jump to PropertiesJump to FunctionsConstructorsBack to top

disconnect from the server
called when our channel gets disconnected
Startup the transport (connect to the "channels" resource to receive updates from the server).

Jump to PropertiesJump to ConstructorsFunctionsBack to top

FunctionabsoluteUrl(baseUrl, relativeUrl)
Overrides
Functionconstructor(options: Keyword)
Overrides
Initiates the REST Channels protocol
Functionget(channel: String, args: dojo.__XhrArgs?)
Overrides
GET the initial value of the resource and subscribe to it See subscribe for parameter values
Functiononprogress(xhr, data, contentType)
Overrides
Functionpublish(channel: Channel/resource, data: data)
Overrides
Publish an event.
Functionreceive(message: A)
Overrides
Called when a message is received from the server
Functionsubscribe(channel: String, args: dojo.__XhrArgs?): don't process the response, the response will be received in the main channels response
Overrides
Subscribes to a channel/uri, and returns a dojo.Deferred object for the response from the subscription request
Overrides
unsubscribes from the resource See subscribe for parameter values
Function_processMessage(message): indicate an error
Overrides
Function_send(method, args, data)
Overrides

Jump to FunctionsJump to ConstructorsPropertiesBack to top

Overrides
Overrides
Overrides
Overrides
Overrides