using ZB.MOM.WW.MxGateway.Contracts;
using ZB.MOM.WW.MxGateway.Contracts.Proto;

namespace ZB.MOM.WW.MxGateway.Worker.Ipc;

public static class WorkerContractInfo
{
    /// <summary>The worker protocol version supported by this contract.</summary>
    public static uint SupportedProtocolVersion => GatewayContractInfo.WorkerProtocolVersion;

    /// <summary>The fully qualified name of the WorkerEnvelope message descriptor.</summary>
    public static string WorkerEnvelopeDescriptorName => WorkerEnvelope.Descriptor.FullName;
}
