ControlServerProtocolWaiter waiter = new ControlServerProtocolWaiter();
waiter.push(new CountingProtocol());
TestProtocol test = new TestProtocol();
test.setValue("SimpleTest");
test.setThreadPool(tp);
test.setClockPool(cp);
test.setSelectorManager(sm);
waiter.push(test);
templateStack.push(waiter);