Show / Hide Table of Contents

Interface ICommand<TSelf>

Represents the state machine command.

Inherited Members
ISerializable<TSelf>.ReadFromAsync<TReader>(TReader, CancellationToken)
ISerializable<TSelf>.ReadFromAsync(Stream, Memory<byte>, CancellationToken)
ISerializable<TSelf>.ReadFromAsync(Stream, int, CancellationToken)
ISerializable<TSelf>.ReadFromAsync(PipeReader, CancellationToken)
ISerializable<TSelf>.TransformAsync<TInput>(TInput, CancellationToken)
IDataTransferObject.Empty
IDataTransferObject.IsReusable
IDataTransferObject.Length
IDataTransferObject.WriteToAsync<TWriter>(TWriter, CancellationToken)
IDataTransferObject.TransformAsync<TResult, TTransformation>(Stream, TTransformation, bool, Memory<byte>, CancellationToken)
IDataTransferObject.TransformAsync<TResult, TTransformation>(Stream, TTransformation, bool, MemoryAllocator<byte>, CancellationToken)
IDataTransferObject.TransformAsync<TResult, TTransformation>(Stream, TTransformation, bool, CancellationToken)
IDataTransferObject.TransformAsync<TResult, TTransformation>(PipeReader, TTransformation, CancellationToken)
IDataTransferObject.TransformAsync<TResult, TTransformation>(TTransformation, CancellationToken)
IDataTransferObject.TryGetMemory(out ReadOnlyMemory<byte>)
Namespace: DotNext.Net.Cluster.Consensus.Raft.Commands
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface ICommand<TSelf> : ISerializable<TSelf>, IDataTransferObject where TSelf : ICommand<TSelf>
Type Parameters
Name Description
TSelf

The implementing type.

Properties

| Edit this page View Source

Id

Gets the identifier of the command.

Declaration
public static abstract int Id { get; }
Property Value
Type Description
int
| Edit this page View Source

IsSnapshot

Gets a value indicating that this command is a snapshot handler.

Declaration
public static bool IsSnapshot { get; }
Property Value
Type Description
bool
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾