Class PeerEventArgs
Represents arguments of PeerDiscovered and PeerGone events.
Inherited Members
Namespace: DotNext.Net
Assembly: DotNext.Net.Cluster.dll
Syntax
public abstract class PeerEventArgs : EventArgs
Properties
| Edit this page View SourcePeerAddress
Gets the address of the peer.
Declaration
public abstract EndPoint PeerAddress { get; }
Property Value
| Type | Description |
|---|---|
| EndPoint |
Methods
| Edit this page View SourceCreate(EndPoint)
Creates a new instance of PeerEventArgs class.
Declaration
public static PeerEventArgs Create(EndPoint peer)
Parameters
| Type | Name | Description |
|---|---|---|
| EndPoint | peer | The peer address. |
Returns
| Type | Description |
|---|---|
| PeerEventArgs | A new instance of PeerEventArgs class. |