mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
added missing
final InetSocketAddress serverInetSocketAddress =
new InetSocketAddress(replicationConfig.serverPort());
final Details serverDetails = new Details(serverInetSocketAddress, localIdentifier);
attached.connector = new ServerConnector(serverDetails);
This commit is contained in:
@@ -518,6 +518,12 @@ final class TcpReplicator<K, V> extends AbstractChannelReplicator implements Clo
|
||||
channel.socket().setSoLinger(false, 0);
|
||||
|
||||
final Attached attached = new Attached();
|
||||
|
||||
final InetSocketAddress serverInetSocketAddress =
|
||||
new InetSocketAddress(replicationConfig.serverPort());
|
||||
final Details serverDetails = new Details(serverInetSocketAddress, localIdentifier);
|
||||
|
||||
attached.connector = new ServerConnector(serverDetails);
|
||||
attached.entryReader = new TcpSocketChannelEntryReader();
|
||||
attached.entryWriter = new TcpSocketChannelEntryWriter();
|
||||
|
||||
@@ -933,8 +939,7 @@ final class TcpReplicator<K, V> extends AbstractChannelReplicator implements Clo
|
||||
}
|
||||
|
||||
@Nullable
|
||||
SelectableChannel doConnect() throws
|
||||
IOException, InterruptedException {
|
||||
SelectableChannel doConnect() throws IOException, InterruptedException {
|
||||
|
||||
final ServerSocketChannel serverChannel = openServerSocketChannel();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user