Destroying a BrokerServerClient
The following example illustrates the use of the BrokerServerClient.destroy method, which disconnects the client from the host.
. . .
BrokerServerClient c;
. . .
try {
c.destroy();
} catch (BrokerException ex) {
System.out.println("Error on Broker Server client destroy\n"+ex);
return;
}
. . .