Class DhtMessage
The DHT message exchanged between peers.
Inherited Members
Namespace: PeerTalk.Routing
Assembly: PeerTalk.dll
Syntax
[ProtoContract]
public class DhtMessage
Properties
| Improve this Doc View SourceCloserPeers
The closer peers for a query.
Declaration
[ProtoMember(8)]
public DhtPeerMessage[] CloserPeers { get; set; }
Property Value
Type | Description |
---|---|
DhtPeerMessage[] |
ClusterLevelRaw
Coral cluster level.
Declaration
[ProtoMember(10)]
public int ClusterLevelRaw { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Key
TODO
Declaration
[ProtoMember(2)]
public byte[] Key { get; set; }
Property Value
Type | Description |
---|---|
Byte[] |
ProviderPeers
The providers for a query.
Declaration
[ProtoMember(9)]
public DhtPeerMessage[] ProviderPeers { get; set; }
Property Value
Type | Description |
---|---|
DhtPeerMessage[] |
Record
TODO
Declaration
[ProtoMember(3)]
public DhtRecordMessage Record { get; set; }
Property Value
Type | Description |
---|---|
DhtRecordMessage |
Type
What type of message it is.
Declaration
[ProtoMember(1)]
public MessageType Type { get; set; }
Property Value
Type | Description |
---|---|
MessageType |