namespace ZB.MOM.WW.MxGateway.Contracts; /// /// Holds the protocol version constants shared by gateway components. /// is advertised to clients in /// OpenSessionReply; is used to /// validate WorkerEnvelope protocol framing on the gateway↔worker pipe. /// public static class GatewayContractInfo { /// Protocol version advertised to clients in OpenSessionReply. public const uint GatewayProtocolVersion = 3; /// Protocol version used to validate WorkerEnvelope framing on the gateway-worker pipe. public const uint WorkerProtocolVersion = 1; /// Default backend name identifying the MXAccess worker process type. public const string DefaultBackendName = "mxaccess-worker"; /// /// Environment variable name that opts an xUnit suite into running live /// MXAccess COM tests. Single source of truth shared by both /// ZB.MOM.WW.MxGateway.IntegrationTests.LiveMxAccessFactAttribute and /// ZB.MOM.WW.MxGateway.Worker.Tests.TestSupport.LiveMxAccessFactAttribute /// so any future opt-in tweak does not silently leave one project /// behind — see Worker.Tests-025. /// public const string LiveMxAccessOptInVariableName = "MXGATEWAY_RUN_LIVE_MXACCESS_TESTS"; }