encoder.writeLong(canonicalAddress.getMostSignificantBits());
encoder.writeLong(canonicalAddress.getLeastSignificantBits());
encoder.writeInt(multiChoiceAddress.getPort());
encoder.writeSmallInt(multiChoiceAddress.getCandidates().size());
for (InetAddress inetAddress : multiChoiceAddress.getCandidates()) {
encoder.writeBinary(inetAddress.getAddress());
}
encoder.writeString(daemonLog.getPath());
encoder.flush();
} catch (IOException e) {
throw new UncheckedIOException(e);