@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class JSONDisconnectAccessLogMessage extends JSONAccessLogMessage implements DisconnectAccessLogMessage
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
Constructor and Description |
---|
JSONDisconnectAccessLogMessage(JSONObject jsonObject)
Creates a new JSON disconnect access log message from the provided JSON
object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisconnectMessage()
Retrieves a message with additional information about the disconnect.
|
java.lang.String |
getDisconnectReason()
Retrieves the disconnect reason for the log message.
|
AccessLogMessageType |
getMessageType()
Retrieves the message type for this access log message.
|
java.lang.String |
getRequesterIPAddress()
Retrieves the IP address of the client that requested the operation.
|
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadID
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getJSONObject, getLogType, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadID
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
public JSONDisconnectAccessLogMessage(@NotNull JSONObject jsonObject) throws LogException
jsonObject
- The JSON object that contains an encoded representation
of this log message. It must not be null
.LogException
- If the provided JSON object cannot be parsed as a
valid log message.@NotNull public AccessLogMessageType getMessageType()
getMessageType
in interface AccessLogMessage
@Nullable public java.lang.String getDisconnectReason()
getDisconnectReason
in interface DisconnectAccessLogMessage
null
if it
is not included in the log message.@Nullable public java.lang.String getDisconnectMessage()
getDisconnectMessage
in interface DisconnectAccessLogMessage
null
if it is not included in the log message.@Nullable public java.lang.String getRequesterIPAddress()
getRequesterIPAddress
in interface DisconnectAccessLogMessage
null
if it is not included in the log message.