public void connectionRemoved(Connection connection) { logger.log(Level.FINEST, "Connection is removed " + connection.getEndPoint()); if (!node.joined()) { if (getMasterAddress() != null) { if (getMasterAddress().equals(connection.getEndPoint())) { node.setMasterAddress(null); } } } }
public ClientEndpoint createNew(Connection conn) { return new ClientEndpoint( ClientEngineImpl.this, conn, UuidUtil.createClientUuid(conn.getEndPoint())); }