public final class GrizzlyLDAPListener extends Object implements org.forgerock.opendj.ldap.spi.LDAPListenerImpl
| Constructor and Description |
|---|
GrizzlyLDAPListener(InetSocketAddress address,
org.forgerock.opendj.ldap.ServerConnectionFactory<org.forgerock.opendj.ldap.LDAPClientContext,Integer> factory,
org.forgerock.opendj.ldap.LDAPListenerOptions options)
Creates a new LDAP listener implementation which will listen for LDAP
client connections using the provided address and connection options.
|
GrizzlyLDAPListener(InetSocketAddress address,
org.forgerock.opendj.ldap.ServerConnectionFactory<org.forgerock.opendj.ldap.LDAPClientContext,Integer> factory,
org.forgerock.opendj.ldap.LDAPListenerOptions options,
org.glassfish.grizzly.nio.transport.TCPNIOTransport transport)
Creates a new LDAP listener implementation which will listen for LDAP
client connections using the provided address, connection options and
provided TCP transport.
|
public GrizzlyLDAPListener(InetSocketAddress address, org.forgerock.opendj.ldap.ServerConnectionFactory<org.forgerock.opendj.ldap.LDAPClientContext,Integer> factory, org.forgerock.opendj.ldap.LDAPListenerOptions options) throws IOException
address - The address to listen on.factory - The server connection factory which will be used to create
server connections.options - The LDAP listener options.IOException - If an error occurred while trying to listen on the provided
address.public GrizzlyLDAPListener(InetSocketAddress address, org.forgerock.opendj.ldap.ServerConnectionFactory<org.forgerock.opendj.ldap.LDAPClientContext,Integer> factory, org.forgerock.opendj.ldap.LDAPListenerOptions options, org.glassfish.grizzly.nio.transport.TCPNIOTransport transport) throws IOException
address - The address to listen on.factory - The server connection factory which will be used to create
server connections.options - The LDAP listener options.transport - Grizzly TCP Transport NIO implementation to use for
connections. If null, default transport will be used.IOException - If an error occurred while trying to listen on the provided
address.public void close()
close in interface Closeableclose in interface AutoCloseableclose in interface org.forgerock.opendj.ldap.spi.LDAPListenerImplpublic InetSocketAddress getSocketAddress()
getSocketAddress in interface org.forgerock.opendj.ldap.spi.LDAPListenerImplCopyright © 2011-2015 ForgeRock AS. All Rights Reserved.