public interface LdapSessionCompletionListener extends EventListener
LdapSession
termination.LdapSession
Modifier and Type | Method and Description |
---|---|
void |
handleConnectionClosed(LdapSession context)
Invoked when the client closed the connection, possibly using an unbind request.
|
void |
handleConnectionDisconnected(LdapSession context,
ResultCode resultCode,
String diagnosticMessage)
Invoked when the connection has been disconnected by the server.
|
void |
handleConnectionError(LdapSession context,
Throwable error)
Invoked when the connection has been disconnected because of an error (e.g: message too big).
|
void handleConnectionError(LdapSession context, Throwable error)
context
- The LdapSession
which has failederror
- The errorvoid handleConnectionClosed(LdapSession context)
context
- The LdapSession
which has been disconnectedvoid handleConnectionDisconnected(LdapSession context, ResultCode resultCode, String diagnosticMessage)
context
- The LdapSession
which has been disconnectedresultCode
- The result code which was included with the disconnect notification, or null
if no
disconnect notification was sent.diagnosticMessage
- The diagnostic message, which may be empty or null
indicating that none was provided.Copyright 2011-2017 ForgeRock AS.