HCOLL-197 removed entry size from the repliaction hub

This commit is contained in:
Rob Austin
2014-12-23 09:44:59 +00:00
parent 026745d63b
commit e003068792
9 changed files with 110 additions and 200 deletions
@@ -245,7 +245,6 @@ class NodeDiscovery {
InetSocketAddress("192.168.1.253", 8123));
final ReplicationHub replicationHub = ReplicationHub.builder()
.maxEntrySize(10 * 1024)
.tcpTransportAndNetwork(tcpConfig)
.remoteNodeValidator(remoteNodeValidator)
.createWithId(identifier);
@@ -375,7 +374,7 @@ class NodeDiscoveryBroadcaster extends UdpChannelReplicator {
final BytesMarshallable externalizable)
throws IOException {
super(replicationConfig, serializedEntrySize, UNUSED);
super(replicationConfig, UNUSED);
final UdpSocketChannelEntryWriter writer = new UdpSocketChannelEntryWriter(1024, externalizable, this);
final UdpSocketChannelEntryReader reader = new UdpSocketChannelEntryReader(1024, externalizable);