@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class ConnectAccessLogMessage 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 |
---|
ConnectAccessLogMessage(LogMessage m)
Creates a new connect access log message from the provided log message.
|
ConnectAccessLogMessage(java.lang.String s)
Creates a new connect access log message from the provided message string.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClientConnectionPolicy()
Retrieves the name of the client connection policy that was selected for
the client connection.
|
AccessLogMessageType |
getMessageType()
Retrieves the message type for this access log message.
|
java.lang.String |
getProtocolName()
Retrieves the name of the protocol the client is using to communicate with
the Directory Server.
|
java.lang.String |
getSourceAddress()
Retrieves the source address for the client connection.
|
java.lang.String |
getTargetAddress()
Retrieves the server address to which the client connection is established.
|
getConnectionID, getInstanceName, getProductName, getStartupID, parse
getNamedValue, getNamedValueAsBoolean, getNamedValueAsDouble, getNamedValueAsInteger, getNamedValueAsLong, getNamedValues, getTimestamp, getUnnamedValues, hasUnnamedValue, toString
public ConnectAccessLogMessage(@NotNull java.lang.String s) throws LogException
s
- The string to be parsed as a connect access log message.LogException
- If the provided string cannot be parsed as a valid
log message.public ConnectAccessLogMessage(@NotNull LogMessage m)
m
- The log message to be parsed as a connect access log message.@Nullable public java.lang.String getSourceAddress()
null
if
it is not included in the log message.@Nullable public java.lang.String getTargetAddress()
null
if it is not included in the log message.@Nullable public java.lang.String getProtocolName()
null
if it is not included in the
log message.@Nullable public java.lang.String getClientConnectionPolicy()
null
if it is not included in the
log message.@NotNull public AccessLogMessageType getMessageType()
getMessageType
in class AccessLogMessage