/** * Retrieves the address to which the connection is established. * * @return The address to which the connection is established. */ public String getHost() { return conn.getConnectedAddress(); }
buffer.append(c.getConnectedAddress()); buffer.append(':'); buffer.append(c.getConnectedPort());
buffer.append(c.getConnectedAddress()); buffer.append(':'); buffer.append(c.getConnectedPort());
buffer.append(c.getConnectedAddress()); buffer.append(':'); buffer.append(c.getConnectedPort());
buffer.append(c.getConnectedAddress()); buffer.append(':'); buffer.append(c.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(); }
/** * 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(); }
if (conn.getConnectedAddress().equals(host) && (port == conn.getConnectedPort()))
for (int i=0; i < addresses.length; i++) if (addresses[i].equals(conn.getConnectedAddress()) && (ports[i] == conn.getConnectedPort()))
if (conn.getConnectedAddress().equals(host) && (port == conn.getConnectedPort()))
server.getConnection("LDAP").getConnectedAddress(), server.getConnection("LDAP").getConnectedPort(), baseDn
if (serverName == null) serverName = connection.getConnectedAddress();
connection.getConnectedAddress(), saslProperties, this);
serverSet = new SingleServerSet(connection.getConnectedAddress(), connection.getConnectedPort(), connection.getLastUsedSocketFactory(),
connection.getConnectedAddress(), null, this);
connection.getConnectedAddress(), socket.getPort(), true); sslSocket.startHandshake(); connection.getConnectedAddress(), socket.getPort(), sslSocket); inputStream = new BufferedInputStream(sslSocket.getInputStream(),
connection.getConnectedAddress(), socket.getPort(), true); sslSocket.startHandshake(); connection.getConnectedAddress(), socket.getPort(), sslSocket); inputStream = new BufferedInputStream(sslSocket.getInputStream(),
MoveSubtree.setInterruptMessage(tool, WARN_MOVE_SUBTREE_INTERRUPT_MSG_ENTRIES_ADDED_TO_TARGET.get( baseDN, targetConnection.getConnectedAddress(), targetConnection.getConnectedPort(), sourceConnection.getConnectedAddress(), sourceConnection.getConnectedPort()));
out("Connected to ", connection.getConnectedAddress(), ':', connection.getConnectedPort());
out("Connected to ", connection.getConnectedAddress(), ':', connection.getConnectedPort());