super.start();
}
public void stop() {
ExceptionTemplate template = new ExceptionTemplate();
template.run(new Callback() {
public void execute() throws Throwable {
discoveryAgent.stop();
}
});
template.run(new Callback() {
public void execute() throws Throwable {
DiscoveryTransportChannel.super.stop();
}
});
Throwable e = template.getFirstException();