requestConns.decrement();
}
};
EventListener serverEventListener = new SimpleEventListener() {
public void connectionClosed(NHttpConnection conn) {
closedServerConns.decrement();
super.connectionClosed(conn);
}
};
NHttpServiceHandler serviceHandler = createHttpServiceHandler(
requestHandler,
null,
serverEventListener);
EventListener clientEventListener = new SimpleEventListener() {
public void connectionClosed(NHttpConnection conn) {
closedClientConns.decrement();
super.connectionClosed(conn);
}