Package org.forgerock.opendj.ldap
Interface ServerConnectionFactory<C,R>
- Type Parameters:
C- The type of client context.R- The type of request context.
Deprecated.
A handler interface for accepting new connections from clients.
A connection listener implementation, such as LDAPListener or
newInternalConnectionFactory
, invoke the method handleAccept whenever a new
client connection is accepted.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionhandleAccept(C clientContext) Deprecated.Invoked when a new client connection is accepted by the associated listener.
-
Method Details
-
handleAccept
Deprecated.Invoked when a new client connection is accepted by the associated listener. Implementations should return aServerConnectionwhich will be used to handle requests from the client connection.- Parameters:
clientContext- The protocol dependent context information associated with the client connection. Depending on the protocol this may contain information about the client such as their address and level connection security. It may also be used to manage the state of the client's connection.- Returns:
- A
ServerConnectionwhich will be used to handle requests from a client connection. - Throws:
LdapException- If this server connection factory cannot accept the client connection.
-
Function<LDAPClientContext, ReactiveHandler<>>.