Class PeerSetDelta
Assembly: Libplanet.dll
Syntax
public class PeerSetDelta : ISerializable
Constructors
|
Improve this Doc
View Source
PeerSetDelta(Peer, DateTimeOffset, IImmutableSet<Peer>, IImmutableSet<Peer>, IImmutableSet<Peer>)
Declaration
public PeerSetDelta(Peer sender, DateTimeOffset timestamp, IImmutableSet<Peer> addedPeers, IImmutableSet<Peer> removedPeers, IImmutableSet<Peer> existingPeers)
Parameters
Type |
Name |
Description |
Peer |
sender |
|
DateTimeOffset |
timestamp |
|
IImmutableSet<Peer> |
addedPeers |
|
IImmutableSet<Peer> |
removedPeers |
|
IImmutableSet<Peer> |
existingPeers |
|
|
Improve this Doc
View Source
PeerSetDelta(SerializationInfo, StreamingContext)
Declaration
protected PeerSetDelta(SerializationInfo info, StreamingContext context)
Parameters
Type |
Name |
Description |
SerializationInfo |
info |
|
StreamingContext |
context |
|
Properties
|
Improve this Doc
View Source
AddedPeers
Declaration
public IImmutableSet<Peer> AddedPeers { get; }
Property Value
Type |
Description |
IImmutableSet<Peer> |
|
|
Improve this Doc
View Source
ExistingPeers
Declaration
public IImmutableSet<Peer> ExistingPeers { get; }
Property Value
Type |
Description |
IImmutableSet<Peer> |
|
|
Improve this Doc
View Source
RemovedPeers
Declaration
public IImmutableSet<Peer> RemovedPeers { get; }
Property Value
Type |
Description |
IImmutableSet<Peer> |
|
|
Improve this Doc
View Source
Sender
Declaration
public Peer Sender { get; }
Property Value
|
Improve this Doc
View Source
Timestamp
Declaration
public DateTimeOffset Timestamp { get; }
Property Value
Type |
Description |
DateTimeOffset |
|
Methods
|
Improve this Doc
View Source
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type |
Name |
Description |
SerializationInfo |
info |
|
StreamingContext |
context |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns