Package com.zb.mom.ww.mxgateway.client
Class MxGatewayClientVersion
java.lang.Object
com.zb.mom.ww.mxgateway.client.MxGatewayClientVersion
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 Summary
Modifier and TypeMethodDescriptionstatic StringReturns the human-readable client release version.static intReturns the gRPC gateway protocol version this client targets.static intReturns the worker IPC protocol version this client targets.
-
Method Details
-
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
-