@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class TextFormattedConnectAccessLogMessage extends TextFormattedAccessLogMessage implements ConnectAccessLogMessage
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 |
---|
TextFormattedConnectAccessLogMessage(java.lang.String logMessageString)
Creates a new text-formatted 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.Integer |
getSourcePort()
Retrieves the source port for the client connection.
|
java.lang.String |
getTargetAddress()
Retrieves the server address to which the client connection is established.
|
java.lang.Integer |
getTargetPort()
Retrieves the target port for the client connection.
|
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 TextFormattedConnectAccessLogMessage(@NotNull java.lang.String logMessageString) throws LogException
logMessageString
- The string representation of the log message to
create. 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 getSourceAddress()
getSourceAddress
in interface ConnectAccessLogMessage
null
if
it is not included in the log message.@Nullable public java.lang.Integer getSourcePort()
getSourcePort
in interface ConnectAccessLogMessage
null
if
it is not included in the log message.@Nullable public java.lang.String getTargetAddress()
getTargetAddress
in interface ConnectAccessLogMessage
null
if it is not included in the log message.@Nullable public java.lang.Integer getTargetPort()
getTargetPort
in interface ConnectAccessLogMessage
null
if
it is not included in the log message.@Nullable public java.lang.String getProtocolName()
getProtocolName
in interface ConnectAccessLogMessage
null
if it is not included in the
log message.@Nullable public java.lang.String getClientConnectionPolicy()
getClientConnectionPolicy
in interface ConnectAccessLogMessage
null
if it is not included in the
log message.