/** * Retrieves the port to which the connection is established. * * @return The port to which the connection is established. */ public int getPort() { return conn.getConnectedPort(); }
buffer.append(c.getConnectedAddress()); buffer.append(':'); buffer.append(c.getConnectedPort()); buffer.append("\" ");
buffer.append(c.getConnectedAddress()); buffer.append(':'); buffer.append(c.getConnectedPort()); buffer.append("\" ");
buffer.append(c.getConnectedAddress()); buffer.append(':'); buffer.append(c.getConnectedPort()); buffer.append("\" ");
buffer.append(c.getConnectedAddress()); buffer.append(':'); buffer.append(c.getConnectedPort()); buffer.append("\" ");
/** * Creates a new disconnect info object with the provided information. * * @param connection The connection with which this disconnect info object * is associated. It must not be {@code null}. * @param type The disconnect type. It must not be {@code null}. * @param message A message providing additional information about the * disconnect. It may be {@code null} if no message is * available. * @param cause The exception that was caught to trigger the * disconnect. It may be {@code null} if the disconnect * was not triggered by an exception. */ DisconnectInfo(final LDAPConnection connection, final DisconnectType type, final String message, final Throwable cause) { Validator.ensureNotNull(connection); Validator.ensureNotNull(type); this.connection = connection; this.type = type; this.message = message; this.cause = cause; handlerNotified = new AtomicBoolean(false); host = connection.getConnectedAddress(); port = connection.getConnectedPort(); }
/** * Creates a new disconnect info object with the provided information. * * @param connection The connection with which this disconnect info object * is associated. It must not be {@code null}. * @param type The disconnect type. It must not be {@code null}. * @param message A message providing additional information about the * disconnect. It may be {@code null} if no message is * available. * @param cause The exception that was caught to trigger the * disconnect. It may be {@code null} if the disconnect * was not triggered by an exception. */ DisconnectInfo(final LDAPConnection connection, final DisconnectType type, final String message, final Throwable cause) { Validator.ensureNotNull(connection); Validator.ensureNotNull(type); this.connection = connection; this.type = type; this.message = message; this.cause = cause; handlerNotified = new AtomicBoolean(false); host = connection.getConnectedAddress(); port = connection.getConnectedPort(); }
(ports[i] == conn.getConnectedPort()))
(port == conn.getConnectedPort()))
"Server running at: ldap://{}:{}/{}", server.getConnection("LDAP").getConnectedAddress(), server.getConnection("LDAP").getConnectedPort(), baseDn );
connection.getConnectedPort(), connection.getLastUsedSocketFactory(), connection.getConnectionOptions());
connection.getConnectedPort(), connection.getLastUsedSocketFactory(), connection.getConnectionOptions());
connection.getConnectedPort(), connection.getLastUsedSocketFactory(), connection.getConnectionOptions());
WARN_MOVE_SUBTREE_INTERRUPT_MSG_ENTRIES_ADDED_TO_TARGET.get( baseDN, targetConnection.getConnectedAddress(), targetConnection.getConnectedPort(), sourceConnection.getConnectedAddress(), sourceConnection.getConnectedPort()));
(sourceConnection.getConnectedPort() == targetConnection.getConnectedPort()))
ERR_MOVE_SUBTREE_POSSIBLY_INTERRUPTED_IN_ADDS.get(baseDN, sourceConnection.getConnectedAddress(), sourceConnection.getConnectedPort(), targetConnection.getConnectedAddress(), targetConnection.getConnectedPort()), ERR_MOVE_SUBTREE_POSSIBLY_INTERRUPTED_IN_ADDS_ADMIN_MSG.get(), false, false, 0, 0, 0); ERR_MOVE_SUBTREE_POSSIBLY_INTERRUPTED_IN_DELETES.get(baseDN, sourceConnection.getConnectedAddress(), sourceConnection.getConnectedPort(), targetConnection.getConnectedAddress(), targetConnection.getConnectedPort()), ERR_MOVE_SUBTREE_POSSIBLY_INTERRUPTED_IN_DELETES_ADMIN_MSG.get(), false, false, 0, 0, 0); ERR_MOVE_SUBTREE_POSSIBLY_INTERRUPTED.get(baseDN, sourceConnection.getConnectedAddress(), sourceConnection.getConnectedPort(), targetConnection.getConnectedAddress(), targetConnection.getConnectedPort(), details.toString()), null, false, false, 0, 0, 0);