@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class DisconnectAccessLogMessage extends AccessLogMessage
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 |
---|
DisconnectAccessLogMessage(LogMessage m)
Creates a new disconnect access log message from the provided log message.
|
DisconnectAccessLogMessage(java.lang.String s)
Creates a new disconnect access log message from the provided message
string.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisconnectReason()
Retrieves the disconnect reason for the log message.
|
java.lang.String |
getMessage()
Retrieves a message with additional information about the disconnect.
|
AccessLogMessageType |
getMessageType()
Retrieves the message type for this access log message.
|
getConnectionID, getInstanceName, getProductName, getStartupID, parse
getNamedValue, getNamedValueAsBoolean, getNamedValueAsDouble, getNamedValueAsInteger, getNamedValueAsLong, getNamedValues, getTimestamp, getUnnamedValues, hasUnnamedValue, toString
public DisconnectAccessLogMessage(@NotNull java.lang.String s) throws LogException
s
- The string to be parsed as a disconnect access log message.LogException
- If the provided string cannot be parsed as a valid
log message.public DisconnectAccessLogMessage(@NotNull LogMessage m)
m
- The log message to be parsed as a disconnect access log message.@Nullable public java.lang.String getDisconnectReason()
null
if it
is not included in the log message.@Nullable public java.lang.String getMessage()
null
if it is not included in the log message.@NotNull public AccessLogMessageType getMessageType()
getMessageType
in class AccessLogMessage