HCOLL-163 kept the use of tcp() and udp() internal

This commit is contained in:
Rob Austin
2014-10-14 10:41:36 +01:00
parent 964c64d3e3
commit 1014834668
22 changed files with 97 additions and 94 deletions
@@ -51,7 +51,7 @@ public class ChannelReplicationTest {
public void setup() throws IOException {
{
TcpReplicationConfig tcpConfig = TcpReplicationConfig
TcpReplicationReplicatorConfig tcpConfig = TcpReplicationReplicatorConfig
.of(8086, new InetSocketAddress("localhost", 8087))
.heartBeatInterval(1, SECONDS);
@@ -66,8 +66,8 @@ public class ChannelReplicationTest {
}
{
TcpReplicationConfig tcpConfig =
TcpReplicationConfig.of(8087).heartBeatInterval(1, SECONDS);
TcpReplicationReplicatorConfig tcpConfig =
TcpReplicationReplicatorConfig.of(8087).heartBeatInterval(1, SECONDS);
channelProviderB = new ChannelProviderBuilder().replicators((byte) 2, tcpConfig)
.create();