Class EnvelopeHttpMessageBase
- Namespace
- GroupeIsa.Neos.Shared.ClusterCommunication
- Assembly
- GroupeIsa.Neos.Shared.dll
Represents a base envelop which contains payload for cluster communication.
public abstract class EnvelopeHttpMessageBase
- Inheritance
-
EnvelopeHttpMessageBase
- Derived
- Inherited Members
Constructors
EnvelopeHttpMessageBase(string, string?, string?, string?, IDictionary<string, string>)
Initializes a new instance of the EnvelopeHttpMessageBase class.
protected EnvelopeHttpMessageBase(string correlationId, string? tenantIdentifier, string? neosUser, string? connectionId, IDictionary<string, string> applicationContext)
Parameters
correlationIdstringThe correlation identifier for keep context in communication inter-cluster.
tenantIdentifierstringThe tenant identifier.
neosUserstringThe user information, like name and mail.
connectionIdstringConnection id.
applicationContextIDictionary<string, string>The application context.
Properties
ApplicationContext
Gets the application context values.
public IDictionary<string, string> ApplicationContext { get; }
Property Value
ConnectionId
Gets the signalR connection id.
public string? ConnectionId { get; }
Property Value
CorrelationId
Gets the correlation identifier.
public string CorrelationId { get; }
Property Value
NeosUser
Gets the user information.
public string? NeosUser { get; }
Property Value
TenantIdentifier
Gets the tenant identifier.
public string? TenantIdentifier { get; }
Property Value
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.