pf.setReclaimPeriod(10 * 1000);
pf.setTemplate(spt);
// pf.setTemplate(templateStack);
pf.setAcceptedCallBack(createAcceptedCallBack());
ssa = new ServerSocketAcceptor();
ssa.setSelectorManager(sm);
ssa.setTimeOut(5 * 1000);
ssa.setUri(bindAddr);
ssa.setAcceptorListener(pf);
}