本文整理了Java中com.unboundid.ldap.sdk.LDAPConnection.getHostPort()
方法的一些代码示例,展示了LDAPConnection.getHostPort()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LDAPConnection.getHostPort()
方法的具体详情如下:
包路径:com.unboundid.ldap.sdk.LDAPConnection
类名称:LDAPConnection
方法名:getHostPort
[英]Retrieves a string representation of the host and port for the server to to which the last connection attempt was made. It does not matter whether the connection attempt was successful, nor does it matter whether it is still established. This is primarily intended for internal use in error messages.
[中]检索上次尝试连接到的服务器的主机和端口的字符串表示形式。连接尝试是否成功并不重要,连接是否仍然建立也不重要。这主要用于错误消息的内部使用。
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
throw new LDAPException(ResultCode.TIMEOUT,
ERR_SASL_BIND_CLIENT_TIMEOUT.get(waitTime, getSASLMechanismName(),
messageID, connection.getHostPort()));
connection.getHostPort(), toString()));
connection.getHostPort(), toString(), message));
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
Thread.currentThread().interrupt();
throw new LDAPException(ResultCode.LOCAL_ERROR,
ERR_MODDN_INTERRUPTED.get(connection.getHostPort()), ie);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
Thread.currentThread().interrupt();
throw new LDAPException(ResultCode.LOCAL_ERROR,
ERR_MODDN_INTERRUPTED.get(connection.getHostPort()), ie);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
Thread.currentThread().interrupt();
throw new LDAPException(ResultCode.LOCAL_ERROR,
ERR_MODIFY_INTERRUPTED.get(connection.getHostPort()), ie);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
Thread.currentThread().interrupt();
throw new LDAPException(ResultCode.LOCAL_ERROR,
ERR_DELETE_INTERRUPTED.get(connection.getHostPort()), ie);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
Thread.currentThread().interrupt();
throw new LDAPException(ResultCode.LOCAL_ERROR,
ERR_COMPARE_INTERRUPTED.get(connection.getHostPort()), ie);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
Thread.currentThread().interrupt();
throw new LDAPException(ResultCode.LOCAL_ERROR,
ERR_DELETE_INTERRUPTED.get(connection.getHostPort()), ie);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
Thread.currentThread().interrupt();
throw new LDAPException(ResultCode.LOCAL_ERROR,
ERR_ADD_INTERRUPTED.get(connection.getHostPort()), ie);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
throw new LDAPException(ResultCode.TIMEOUT,
ERR_SASL_BIND_CLIENT_TIMEOUT.get(waitTime, getSASLMechanismName(),
messageID, connection.getHostPort()));
connection.getHostPort(), toString()));
connection.getHostPort(), toString(), message));
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
Thread.currentThread().interrupt();
throw new LDAPException(ResultCode.LOCAL_ERROR,
ERR_BIND_INTERRUPTED.get(connection.getHostPort()), ie);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
Thread.currentThread().interrupt();
throw new LDAPException(ResultCode.LOCAL_ERROR,
ERR_MODIFY_INTERRUPTED.get(connection.getHostPort()), ie);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
Thread.currentThread().interrupt();
throw new LDAPException(ResultCode.LOCAL_ERROR,
ERR_ADD_INTERRUPTED.get(connection.getHostPort()), ie);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
connection.getHostPort()));
connection.getHostPort(), toString()));
connection.getHostPort(), toString(), msg));
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
Thread.currentThread().interrupt();
throw new LDAPException(ResultCode.LOCAL_ERROR,
ERR_BIND_INTERRUPTED.get(connection.getHostPort()), ie);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getHostPort()));
connection.getHostPort(), toString()));
connection.getHostPort(), toString(), msg));
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
throw new LDAPException(ResultCode.TIMEOUT,
ERR_SIMPLE_BIND_CLIENT_TIMEOUT.get(waitTime, messageID,
bindDN.stringValue(), connection.getHostPort()));
connection.getHostPort(), toString()));
connection.getHostPort(), toString(), message));
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
throw new LDAPException(ResultCode.TIMEOUT,
ERR_SIMPLE_BIND_CLIENT_TIMEOUT.get(waitTime, messageID,
bindDN.stringValue(), connection.getHostPort()));
connection.getHostPort(), toString()));
connection.getHostPort(), toString(), message));
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
Thread.currentThread().interrupt();
throw new LDAPException(ResultCode.LOCAL_ERROR,
ERR_EXTOP_INTERRUPTED.get(connection.getHostPort()), ie);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
Thread.currentThread().interrupt();
throw new LDAPException(ResultCode.LOCAL_ERROR,
ERR_EXTOP_INTERRUPTED.get(connection.getHostPort()), ie);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
Thread.currentThread().interrupt();
throw new LDAPException(ResultCode.LOCAL_ERROR,
ERR_BIND_INTERRUPTED.get(connection.getHostPort()), ie);
内容来源于网络,如有侵权,请联系作者删除!