Instructing clients to migrate to a different server

This section discusses the requirements for an Open Server to migrate clients to other servers. When migrating clients to a different server your application must:

  1. Create a unique session ID and send it to the clients in the connection handler.

  2. Initiate connection migration.

  3. Handle migration events.

  4. Share the context of the connection, using the connection’s session ID, to other servers.

  5. (Optional) Act on ongoing migrations in existing handlers.

The following sections further discuss these activities.