@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class JSONConnectAccessLogMessage extends JSONAccessLogMessage 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.
Constructor and Description |
---|
JSONConnectAccessLogMessage(JSONObject jsonObject)
Creates a new JSON connect access log message from the provided JSON
object.
|
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, getJSONObject, getLogType, 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 JSONConnectAccessLogMessage(@NotNull JSONObject jsonObject) throws LogException
jsonObject
- The JSON object that contains an encoded representation
of this log message. It must not be null
.LogException
- If the provided JSON object 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.