| | |
| | | |
| | | void runListen() |
| | | { |
| | | Message listenMsg = NOTE_REPLICATION_SERVER_LISTENING.get( |
| | | getServerId(), |
| | | listenSocket.getInetAddress().getHostAddress(), |
| | | listenSocket.getLocalPort()); |
| | | logError(listenMsg); |
| | | |
| | | while ((shutdown == false) && (stopListen == false)) |
| | | { |
| | | // Wait on the replicationServer port. |
| | |
| | | socket.connect(ServerAddr, 500); |
| | | |
| | | ReplicationServerHandler handler = new ReplicationServerHandler( |
| | | replSessionSecurity.createClientSession(remoteServerURL, |
| | | replSessionSecurity.createClientSession( |
| | | socket, |
| | | ReplSessionSecurity.HANDSHAKE_TIMEOUT), |
| | | queueSize, |