StampyHeartbeatContainer heartbeatContainer = new HeartbeatContainer();
ServerNettyMessageGateway gateway = new ServerNettyMessageGateway();
gateway.setPort(1234);
ServerNettyChannelHandler handler = new ServerNettyChannelHandler();
handler.setHeartbeatContainer(heartbeatContainer);
handler.setGateway(gateway);
gateway.addMessageListener(new IDontNeedSecurity());
NettyReceiptListener receipt = new NettyReceiptListener();
receipt.setGateway(gateway);