Show / Hide Table of Contents

Class BoundPeer

Inheritance
Object
Peer
BoundPeer
Inherited Members
Peer.PublicKey
Peer.AppProtocolVersion
Peer.Address
Peer.PublicIPAddress
Peer.IsCompatibleWith(AppProtocolVersion, IEnumerable<PublicKey>, DifferentAppProtocolVersionEncountered)
Namespace: Libplanet.Net
Assembly: Libplanet.dll
Syntax
public sealed class BoundPeer : Peer

Constructors

| Improve this Doc View Source

BoundPeer(PublicKey, DnsEndPoint, AppProtocolVersion)

Initializes a new instance of the BoundPeer class.

Declaration
public BoundPeer(PublicKey publicKey, DnsEndPoint endPoint, AppProtocolVersion appProtocolVersion)
Parameters
Type Name Description
PublicKey publicKey

A PublicKey of the Peer.

DnsEndPoint endPoint

A consisting of the host and port of the Peer.

AppProtocolVersion appProtocolVersion

An application protocol version that the Peer is using.

Properties

| Improve this Doc View Source

EndPoint

The corresponding of this peer.

Declaration
public DnsEndPoint EndPoint { get; }
Property Value
Type Description
DnsEndPoint

Methods

| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context
Overrides
Peer.GetObjectData(SerializationInfo, StreamingContext)
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Peer.ToString()

Operators

| Improve this Doc View Source

Equality(BoundPeer, BoundPeer)

Declaration
public static bool operator ==(BoundPeer left, BoundPeer right)
Parameters
Type Name Description
BoundPeer left
BoundPeer right
Returns
Type Description
Boolean
| Improve this Doc View Source

Inequality(BoundPeer, BoundPeer)

Declaration
public static bool operator !=(BoundPeer left, BoundPeer right)
Parameters
Type Name Description
BoundPeer left
BoundPeer right
Returns
Type Description
Boolean
  • Improve this Doc
  • View Source
Back to top Copyright © 2019–2020 Planetarium