clientRestartManager.getControl(), numberListener, "localhost");
SequenceClient client = new SequenceClient(new InetSocketAddress(notificationPort), channelPipelineFactory);
try {
// Start the server with the current replication number.
server.start(getCurrentSequenceNumber());
// Update the port. It may have been allocated dynamically if the
// port was specified as 0.
port = server.getPort();