public class Cloud extends Object
<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 and Description |
|---|
Cloud() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()Copyright © 2008–2017. All rights reserved.