namespace MediaBrowser.Controller.Session;
///
/// An envelope addressed to one instance. names the payload so that features other
/// than session routing can share the same channel.
///
public sealed class PodMessage
{
///
/// The of the acknowledgement the receiving instance sends back.
///
public const string AckKind = "Ack";
///
/// Gets or sets the payload discriminator.
///
public string Kind { get; set; } = string.Empty;
///
/// Gets or sets the identity of the sending instance.
///
public string OriginPod { get; set; } = string.Empty;
///
/// Gets or sets the identifier tying an acknowledgement to the message it answers.
///
public string CorrelationId { get; set; } = string.Empty;
///
/// Gets or sets a value indicating whether the receiving instance carried the message out. Only
/// meaningful on an message.
///
public bool Handled { get; set; }
///
/// Gets or sets the serialized payload.
///
public string Payload { get; set; } = string.Empty;
}