PeerNameRegistration クラス
定義
public ref class PeerNameRegistration : IDisposable, System::Runtime::Serialization::ISerializable
[System.Serializable]
public class PeerNameRegistration : IDisposable, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type PeerNameRegistration = class
interface IDisposable
interface ISerializable
Public Class PeerNameRegistration
Implements IDisposable, ISerializable
- 継承
-
PeerNameRegistration
- 属性
- 実装
注釈
登録によって、 PeerName ピアクラウドまたはクラウド内のに関連付けられているすべての情報が作成 (または更新) されます。Registration creates (or updates) all the information that is associated with a PeerName in a peer cloud or clouds.
PeerNameRegistration同じピア名に対して複数のオブジェクトを持つことができます。It is possible to have multiple PeerNameRegistration objects for the same peer name. このような場合、ピア名がセキュリティで保護されていると、各インスタンスは PeerNameRegistration 異なるクラウドでを表します。In such a case, if the peer name is secured, each instance represents PeerNameRegistration in a different cloud. ただし、ピア名がセキュリティで保護されていない場合は、同じクラウドに複数回登録できます。これにより、各登録が異なるプロセスから実行されます。However, if the peer name is not secured, it can be registered in the same cloud multiple times, providing that each registration is from a different process.
コンストラクター
PeerNameRegistration() |
PeerNameRegistration クラスの新しい既定のインスタンスを初期化します。Initializes a new default instance of the PeerNameRegistration class. |
PeerNameRegistration(PeerName, Int32) |
指定した名前とポート番号を使用して、PeerNameRegistration クラスの新しいインスタンスを初期化します。Initializes a new instance of the PeerNameRegistration class with the specified name and port number. |
PeerNameRegistration(PeerName, Int32, Cloud) |
指定したピア名、ポート番号、Cloud を使用して、PeerNameRegistration クラスの新しいインスタンスを初期化します。Initializes a new instance of the PeerNameRegistration class with the specified peer name, port number, and Cloud. |
PeerNameRegistration(SerializationInfo, StreamingContext) |
新しくシリアル化可能な PeerNameRegistration オブジェクトを初期化します。Initializes a new serializable PeerNameRegistration object. |
プロパティ
Cloud |
この Cloud オブジェクトを登録する PeerName 内の情報を取得または設定します。Gets or sets information in a Cloud into which this PeerName object will be registered. |
Comment |
PeerName に登録する Cloud オブジェクトに関する追加情報を取得または設定します。Gets or sets additional information about the PeerName object that will be registered with the Cloud. |
Data |
PeerNameRegistration オブジェクトのアプリケーション定義のバイナリ データを取得または設定します。Gets or sets application-defined binary data for the PeerNameRegistration object. |
EndPointCollection |
関連付けられているピア名が登録されたネットワーク エンドポイントのコレクションを取得します。Gets the collection of network endpoints for which the associated peer name is registered. |
PeerName |
ピア クラウドに登録するピア名を取得または設定します。Gets or sets the peer name to register with a peer cloud. |
Port |
PeerNameRegistration オブジェクトに登録するピアが使用する TCP/IP ポート番号を取得または設定します。Gets or sets the TCP/IP port number used by the peer being registered into the PeerNameRegistration object. |
UseAutoEndPointSelection |
ピア メッシュまたは Cloud を走査するときにエンドポイントの自動選択を使用するかどうかを指定する値を取得または設定します。Gets or sets a value that specifies whether to use automatic endpoint selection when traversing a peer mesh or Cloud. |
メソッド
Dispose() |
この PeerNameRegistration オブジェクトによって使用されているすべてのリソースを解放します。Releases all resources used by the PeerNameRegistration object. |
Dispose(Boolean) |
アンマネージド リソースを解放します。オプションで PeerNameRegistration オブジェクトによって使用されているマネージド リソースも解放できます。Releases the unmanaged resources and optionally releases the managed resources used by the PeerNameRegistration object. |
Equals(Object) |
指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。Determines whether the specified object is equal to the current object. (継承元 Object) |
GetHashCode() |
既定のハッシュ関数として機能します。Serves as the default hash function. (継承元 Object) |
GetObjectData(SerializationInfo, StreamingContext) |
シリアル化情報オブジェクトを、PeerNameRegistration インスタンスのシリアル化に必要なデータで事前設定します。Populates a serialization information object with the data needed to serialize the PeerNameRegistration instance. |
GetType() |
現在のインスタンスの Type を取得します。Gets the Type of the current instance. (継承元 Object) |
IsRegistered() |
PeerName プロパティで指定されているピア名が、ホスト上の特定の Cloud に登録されているかどうかを取得または設定します。Gets or sets whether the peer name specified in the PeerName property is registered with a specific Cloud on a host. |
MemberwiseClone() |
現在の Object の簡易コピーを作成します。Creates a shallow copy of the current Object. (継承元 Object) |
Start() |
PeerName を Cloud に登録します。Registers the PeerName into the Cloud. EndPointCollection がまったく指定されないと、Port プロパティで指定したポート値を使用して、自動アドレス選択が使用されます。If no EndPointCollection is specified, automatic address selection is used with the port value specified by the Port property. |
Stop() |
PeerName プロパティで指定されたピア名の登録を、登録されていたすべてのクラウドから解除します。Unregisters the peer name specified in the PeerName property from all the clouds in which it was registered. |
ToString() |
現在のオブジェクトを表す文字列を返します。Returns a string that represents the current object. (継承元 Object) |
Update() |
特定の Cloud に登録されたノードの PeerNameRegistration を更新します。Updates the PeerNameRegistration for a node registered with a specific Cloud. プロパティで指定された情報を使用して更新が実行されます。Update is performed using the information specified in the properties. |
明示的なインターフェイスの実装
ISerializable.GetObjectData(SerializationInfo, StreamingContext) |
ISerializable インターフェイスを実装し、PeerNameRegistration インスタンスをシリアル化するために必要なデータを返します。Implements the ISerializable interface and returns the data needed to serialize the PeerNameRegistration instance. |