Version Mismatch Detection

The isCompatible method prevents version mismatch between incompatible versions of Unwired WorkSpace and Unwired Server.

Examples include:

  • A later version of Unwired WorkSpace connecting to an earlier version of Unwired Server.
  • An earlier version of Unwired WorkSpace connecting to a later version of Unwired Server.

If the two are incompatible, an error message is generated. For this version of Unwired Platform, when Unwired WorkSpace attempts to connect to an older Unwired Server version from a connection profile, the error "UnsupportedOperationException" displays and connection fails.

boolean isCompatible(string server_host, int iiop_port, int client_version)

Unwired Server responds with true or false based on the version identifier passed from the client and is checked for support of that version. This method works with any Unwired Server in a cluster, without the need to specify the host and port of the primary.