Implemented getReplicaAddress