|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.rss.Cloud
public class Cloud
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 here.
Constructor Summary | |
---|---|
Cloud()
|
Method Summary | |
---|---|
String |
getDomain()
Returns the cloud's domain. |
String |
getPath()
Returns the cloud's path. |
int |
getPort()
Returns the port number. |
String |
getProtocol()
Returns the protocol. |
String |
getRegisterProcedure()
Returns the cloud's registration procedure. |
void |
setDomain(String domain)
Initializes the cloud's domain. |
void |
setPath(String path)
Initializes the cloud's path. |
void |
setPort(int port)
Initializes the port number. |
void |
setProtocol(String protocol)
Initializes the protocol. |
void |
setRegisterProcedure(String registerProcedure)
Initializes the cloud's register procedure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cloud()
Method Detail |
---|
public void setDomain(String domain)
domain
- a domain. Shall not be null
.
NullPointerException
- if domain
is null
.getDomain()
public String getDomain()
null
if not yet initialized.setDomain(java.lang.String)
public void setPort(int port)
port
- a port number.getPort()
public int getPort()
setPort(int)
public String getPath()
null
if not yet initialized.setPath(java.lang.String)
public void setPath(String path)
path
- a path. Shall not be null
.
NullPointerException
- if path
is null
.getPath()
public String getRegisterProcedure()
null
if not yet initialized.setRegisterProcedure(java.lang.String)
public void setRegisterProcedure(String registerProcedure)
registerProcedure
- a registration procedure. Shall not be null
.
NullPointerException
- if registerProcedure
is null
.getRegisterProcedure()
public String getProtocol()
null
if not yet initialized.setProtocol(java.lang.String)
public void setProtocol(String protocol)
protocol
- a protocol. Shall not be null
.
NullPointerException
- if protocol
is null
.getProtocol()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |