public class Cloud extends Object implements Serializable
The <cloud> element.
From the RSS 2.0 specification...
Allows processes to register with a cloud to be notified of updates to the channel, implementing a lightweight publish-subscribe protocol for RSS feeds. More info <a href= "http://cyber.law.harvard.edu/rss/rss.html# ltcloudgtSubelementOfLtchannelgt" >here</a>
<cloud> sub-element of <channel>
<cloud> is an optional sub-element of <channel>.
It specifies a web service that supports the rssCloud interface which can be implemented in HTTP-POST, XML-RPC or SOAP 1.1.
Its purpose is to allow processes to register with a cloud to be notified of updates to the channel, implementing a lightweight publish-subscribe protocol for RSS feeds.
<cloud domain="rpc.sys.com" port="80" path="/RPC2" registerProcedure="myCloud.rssPleaseNotify" protocol="xml-rpc" />
In this example, to request notification on the channel it appears in, you would send an XML-RPC message to rpc.sys.com on port 80, with a path of /RPC2. The procedure to call is myCloud.rssPleaseNotify.
A full explanation of this element and the rssCloud interface is
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Attribute |
getAttribute(String attrName) |
List<Attribute> |
getAttributes() |
Attribute |
getDomain() |
Attribute |
getPath() |
Attribute |
getPort() |
Attribute |
getProtocol() |
Attribute |
getRegisterProcedure() |
int |
hashCode() |
String |
toString()
Shows the contents of the <cloud> element.
|
public List<Attribute> getAttributes()
public Attribute getRegisterProcedure()
public Attribute getProtocol()
public Attribute getAttribute(String attrName)
attrName - the name of the attribute to get.Copyright © 2014. All rights reserved.