Class DhtPeerMessage
Information about a peer.
Inherited Members
Namespace: PeerTalk.Routing
Assembly: PeerTalk.dll
Syntax
[ProtoContract]
public class DhtPeerMessage
Properties
| Improve this Doc View SourceAddresses
Addresses for a given peer
Declaration
[ProtoMember(2)]
public byte[][] Addresses { get; set; }
Property Value
Type | Description |
---|---|
Byte[][] | A sequence of MultiAddress as a byte array. |
Connection
used to signal the sender's connection capabilities to the peer
Declaration
[ProtoMember(3)]
public ConnectionType Connection { get; set; }
Property Value
Type | Description |
---|---|
ConnectionType |
Id
ID of a given peer.
Declaration
[ProtoMember(1)]
public byte[] Id { get; set; }
Property Value
Type | Description |
---|---|
Byte[] | The MultiHash as a byte array, |
Methods
| Improve this Doc View SourceTryToPeer(out Peer)
Convert the message into a Peer.
Declaration
public bool TryToPeer(out Peer peer)
Parameters
Type | Name | Description |
---|---|---|
Peer | peer |
Returns
Type | Description |
---|---|
Boolean |