@NotExtensible @ThreadSafety(level=COMPLETELY_THREADSAFE) public abstract class AccessLogMessage extends LogMessage
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 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.
Modifier | Constructor and Description |
---|---|
protected |
AccessLogMessage(LogMessage m)
Creates a new access log message from the provided log message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getConnectionID()
Retrieves the connection ID for the connection with which this access log
message is associated.
|
java.lang.String |
getInstanceName()
Retrieves the Directory Server instance name for this access log message.
|
abstract AccessLogMessageType |
getMessageType()
Retrieves the message type for this access log message.
|
java.lang.String |
getProductName()
Retrieves the server product name for this access log message.
|
java.lang.String |
getStartupID()
Retrieves the Directory Server startup ID for this access log message.
|
static AccessLogMessage |
parse(java.lang.String s)
Parses the provided string as an access log message.
|
getNamedValue, getNamedValueAsBoolean, getNamedValueAsDouble, getNamedValueAsInteger, getNamedValueAsLong, getNamedValues, getTimestamp, getUnnamedValues, hasUnnamedValue, toString
protected AccessLogMessage(LogMessage m)
m
- The log message to be parsed as an access log message.public static AccessLogMessage parse(java.lang.String s) throws LogException
s
- The string to parse as an access log message.LogException
- If an error occurs while trying to parse the log
message.public final java.lang.String getProductName()
null
if it is not included in the log message.public final java.lang.String getInstanceName()
null
if it is not included in the log message.public final java.lang.String getStartupID()
null
if it is not included in the log message.public final java.lang.Long getConnectionID()
null
if it is not included in
the log message.public abstract AccessLogMessageType getMessageType()