Switches the currently active context client.
mqtt> switch [<contextName>] [-i <identifier>] [-h <host>] [--help]
|The context name of a client consisting of the the client identifier concatenated by a @ with the hostname. The hostname may be omitted and will be filled with the default host.|
|The unique identifier of a client.|
|The host the client is connected to.|
Connect two clients and switch the active context to the first connected client
mqtt> con -i client1 client1@localhost> exit mqtt> con -i client2 -h broker.hivemq.com email@example.com> switch client1 client1@localhost> switch firstname.lastname@example.org email@example.com>