Cloud Cloud Cloud Cloud Class

Definition

Specifies the values that define a Peer Cloud object.

public ref class Cloud : IEquatable<System::Net::PeerToPeer::Cloud ^>, System::Runtime::Serialization::ISerializable
[System.Serializable]
public class Cloud : IEquatable<System.Net.PeerToPeer.Cloud>, System.Runtime.Serialization.ISerializable
type Cloud = class
    interface ISerializable
    interface IEquatable<Cloud>
Public Class Cloud
Implements IEquatable(Of Cloud), ISerializable
Inheritance
CloudCloudCloudCloud
Attributes
Implements

Remarks

A Cloud is a set of nodes that can communicate with each other through the network. Cloud, peer mesh, and peer-to-peer graph are synonymous. A single peer or node may be connected to more than one cloud.

Communication between nodes should never cross from one cloud to another. A Cloud instance is uniquely identified by its name, which is case-sensitive.

Clouds are tied very closely to network interfaces. On a multi-homed machine with two network cards attached to different subnets, three clouds will be returned: one for each of the link local addresses per interface, and a single global scope cloud.

Constructors

Cloud(SerializationInfo, StreamingContext) Cloud(SerializationInfo, StreamingContext) Cloud(SerializationInfo, StreamingContext) Cloud(SerializationInfo, StreamingContext)

Initializes a new instance of the PNRP Cloud type. This populates a serialization information object with the data needed to serialize the Cloud object.

Fields

AllLinkLocal AllLinkLocal AllLinkLocal AllLinkLocal

Returns a reference to a Cloud which represents all the link-local clouds in which the client or peer is currently participating.

Available Available Available Available

Returns a static reference to a Cloud which represents all the available clouds in which the client is currently participating.

Properties

Global Global Global Global

Gets a Cloud instance that contains globally (internet) scoped peers.

Name Name Name Name

Gets the name of the peer Cloud.

Scope Scope Scope Scope

Gets the network scope of the peer Cloud.

ScopeId ScopeId ScopeId ScopeId

Gets the identifier of a specific IP address for this peer Cloud.

Methods

Equals(Cloud) Equals(Cloud) Equals(Cloud) Equals(Cloud)

Performs a case-sensitive comparison between two cloud objects.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the content of this peer Cloud is equivalent to the content of a System object.

GetAvailableClouds() GetAvailableClouds() GetAvailableClouds() GetAvailableClouds()

Obtains a collection of peer clouds known to the calling peer.

GetCloudByName(String) GetCloudByName(String) GetCloudByName(String) GetCloudByName(String)

Returns the Cloud object with the specified cloud name.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Overrides GetHashCode().

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Populates a System.Runtime.Serialization information object with the data needed to serialize the Cloud.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string representation of the current Cloud.

Explicit Interface Implementations

ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Implements the ISerializable interface and returns the data needed to serialize the Cloud instance.

Applies to

See also