@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class TextFormattedDisconnectAccessLogMessage extends TextFormattedAccessLogMessage 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.
NO_FIELD_NAME
Constructor and Description |
---|
TextFormattedDisconnectAccessLogMessage(java.lang.String logMessageString)
Creates a new text-formatted disconnect access log message from the
provided message string.
|
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, 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 TextFormattedDisconnectAccessLogMessage(@NotNull java.lang.String logMessageString) throws LogException
logMessageString
- The string representation of this log message.
It must not be null
.LogException
- If the provided string 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.