Broker 10.5 | webMethods Broker Documentation | webMethods Broker Administration Java API Programmer’s Guide | Managing Brokers and Broker Servers | Understanding Broker Server Clients | Destroying a BrokerServerClient
 
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;
}
. . .