public interface LDAPClientContextEventListener extends EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
handleConnectionClosed(LDAPClientContext context,
UnbindRequest unbindRequest)
Invoked when the client closed the connection, possibly using an unbind request.
|
void |
handleConnectionDisconnected(LDAPClientContext context,
ResultCode resultCode,
String diagnosticMessage)
Invoked when the connection has been disconnected by the server.
|
void |
handleConnectionError(LDAPClientContext context,
Throwable error)
Invoked when the connection has been disconnected because of an error (e.g: message too big).
|
void handleConnectionError(LDAPClientContext context, Throwable error)
context - The LDAPClientContext which has failederror - The errorvoid handleConnectionClosed(LDAPClientContext context, UnbindRequest unbindRequest)
context - The LDAPClientContext which has been disconnectedunbindRequest - The unbind request, which may be null if one was not sent before the connection was
closed.void handleConnectionDisconnected(LDAPClientContext context, ResultCode resultCode, String diagnosticMessage)
context - The LDAPClientContext 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 © 2017-2020 Wren Security. All Rights Reserved.