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 { public const uint GatewayProtocolVersion = 3; public const uint WorkerProtocolVersion = 1; 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"; }