private void setupConnection() throws StandardException {
try {
if (transmitter != null) {
transmitter.tearDown();
}
transmitter = new ReplicationMessageTransmit(slaveAddr);
// getHighestShippedInstant is -1 until the first log
// chunk has been shipped to the slave. If a log chunk has
// been shipped, use the instant of the latest shipped log
// record to synchronize log files. If no log has been