void stop() throws Exception { if (null != server) { server.shutdown(); } }
void start() throws Exception { server = new org.apache.hw_v4_1_0.hedwig.server.netty.PubSubServer(conf); server.start(); }