Class MxGatewayClientVersion

java.lang.Object
com.zb.mom.ww.mxgateway.client.MxGatewayClientVersion

public final class MxGatewayClientVersion extends Object
Reports the client and protocol version numbers compiled into this build.

Used by smoke-test tooling and the CLI to confirm that a gateway and worker speak the same protocol version as the client.

  • Method Details

    • clientVersion

      public static String clientVersion()
      Returns the human-readable client release version.
      Returns:
      the client version string
    • gatewayProtocolVersion

      public static int gatewayProtocolVersion()
      Returns the gRPC gateway protocol version this client targets.
      Returns:
      the gateway protocol version
    • workerProtocolVersion

      public static int workerProtocolVersion()
      Returns the worker IPC protocol version this client targets.
      Returns:
      the worker protocol version