throws IOException, DatabaseException {
super(repImpl, "RepNode " + repImpl.getNameIdPair());
this.repImpl = repImpl;
readyLatch = new ExceptionAwareCountDownLatch(repImpl, 1);
nameIdPair = repImpl.getNameIdPair();
logger = LoggerUtils.getLogger(getClass());
this.mySocket = repImpl.getSocket();
this.serviceDispatcher = new ServiceDispatcher(mySocket, repImpl);