4
* RSS.NET (http://rss-net.sf.net/)
5
* Copyright � 2002 - 2005 George Tsiokos. All Rights Reserved.
7
* RSS 2.0 (http://blogs.law.harvard.edu/tech/rss)
8
* RSS 2.0 is offered by the Berkman Center for Internet & Society at
9
* Harvard Law School under the terms of the Attribution/Share Alike
10
* Creative Commons license.
12
* Permission is hereby granted, free of charge, to any person obtaining
13
* a copy of this software and associated documentation files (the "Software"),
14
* to deal in the Software without restriction, including without limitation
15
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
16
* and/or sell copies of the Software, and to permit persons to whom the
17
* Software is furnished to do so, subject to the following conditions:
19
* The above copyright notice and this permission notice shall be included in all
20
* copies or substantial portions of the Software.
22
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
34
/// <summary>Allow processes to register with a cloud to be notified of updates to the channel.</summary>
36
public class RssCloud : RssElement
38
private RssCloudProtocol protocol = RssCloudProtocol.Empty;
39
private string domain = RssDefault.String;
40
private string path = RssDefault.String;
41
private string registerProcedure = RssDefault.String;
42
private int port = RssDefault.Int;
43
/// <summary>Initialize a new instance of the RssCloud class.</summary>
45
/// <summary>Domain name or IP address of the cloud</summary>
48
get { return domain; }
49
set { domain = RssDefault.Check(value); }
51
/// <summary>TCP port that the cloud is running on</summary>
55
set { port = RssDefault.Check(value); }
57
/// <summary>Location of its responder</summary>
61
set { path = RssDefault.Check(value); }
64
/// <summary>Name of the procedure to call to request notification</summary>
65
public string RegisterProcedure
67
get { return registerProcedure; }
68
set { registerProcedure = RssDefault.Check(value); }
70
/// <summary>Protocol used</summary>
71
public RssCloudProtocol Protocol
73
get { return protocol; }
74
set { protocol = value; }