Class BoundPeer
Namespace: Libplanet.Net
Assembly: Libplanet.dll
Syntax
public sealed class BoundPeer : Peer
Constructors
| Improve this Doc View SourceBoundPeer(PublicKey, DnsEndPoint, Int32)
Initializes a new instance of the BoundPeer class.
Declaration
public BoundPeer(PublicKey publicKey, DnsEndPoint endPoint, int appProtocolVersion)
Parameters
Type | Name | Description |
---|---|---|
PublicKey | publicKey | |
DnsEndPoint | endPoint | A |
Int32 | appProtocolVersion | An application protocol version that the Peer is using. |
Properties
| Improve this Doc View SourceEndPoint
The corresponding
Declaration
public DnsEndPoint EndPoint { get; }
Property Value
Type | Description |
---|---|
DnsEndPoint |
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |