C - The type of client context.R - The type of request context.public interface ServerConnectionFactory<C,R>
A connection listener implementation, such as LDAPListener or
newInternalConnectionFactory
, invoke the method handleAccept whenever a new
client connection is accepted.
LDAPListener,
newInternalConnectionFactory| Modifier and Type | Method and Description |
|---|---|
ServerConnection<R> |
handleAccept(C clientContext)
Invoked when a new client connection is accepted by the associated
listener.
|
ServerConnection<R> handleAccept(C clientContext) throws LdapException
ServerConnection which
will be used to handle requests from the client connection.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.ServerConnection which will be used to handle requests
from a client connection.LdapException - If this server connection factory cannot accept the client
connection.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.