001/*
002 * Copyright 2009-2019 Ping Identity Corporation
003 * All Rights Reserved.
004 */
005/*
006 * Copyright (C) 2015-2019 Ping Identity Corporation
007 *
008 * This program is free software; you can redistribute it and/or modify
009 * it under the terms of the GNU General Public License (GPLv2 only)
010 * or the terms of the GNU Lesser General Public License (LGPLv2.1 only)
011 * as published by the Free Software Foundation.
012 *
013 * This program is distributed in the hope that it will be useful,
014 * but WITHOUT ANY WARRANTY; without even the implied warranty of
015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
016 * GNU General Public License for more details.
017 *
018 * You should have received a copy of the GNU General Public License
019 * along with this program; if not, see <http://www.gnu.org/licenses>.
020 */
021package com.unboundid.ldap.sdk.unboundidds.logs;
022
023
024
025import com.unboundid.util.NotMutable;
026import com.unboundid.util.ThreadSafety;
027import com.unboundid.util.ThreadSafetyLevel;
028
029
030
031/**
032 * This class provides a data structure that holds information about a log
033 * message that may appear in the Directory Server access log about an unbind
034 * request received from a client.
035 * <BR>
036 * <BLOCKQUOTE>
037 *   <B>NOTE:</B>  This class, and other classes within the
038 *   {@code com.unboundid.ldap.sdk.unboundidds} package structure, are only
039 *   supported for use against Ping Identity, UnboundID, and
040 *   Nokia/Alcatel-Lucent 8661 server products.  These classes provide support
041 *   for proprietary functionality or for external specifications that are not
042 *   considered stable or mature enough to be guaranteed to work in an
043 *   interoperable way with other types of LDAP servers.
044 * </BLOCKQUOTE>
045 */
046@NotMutable()
047@ThreadSafety(level=ThreadSafetyLevel.COMPLETELY_THREADSAFE)
048public final class UnbindRequestAccessLogMessage
049       extends OperationRequestAccessLogMessage
050{
051  /**
052   * The serial version UID for this serializable class.
053   */
054  private static final long serialVersionUID = 837856533259958468L;
055
056
057
058  /**
059   * Creates a new unbind request access log message from the provided message
060   * string.
061   *
062   * @param  s  The string to be parsed as an unbind request access log
063   *            message.
064   *
065   * @throws  LogException  If the provided string cannot be parsed as a valid
066   *                        log message.
067   */
068  public UnbindRequestAccessLogMessage(final String s)
069         throws LogException
070  {
071    this(new LogMessage(s));
072  }
073
074
075
076  /**
077   * Creates a new unbind request access log message from the provided log
078   * message.
079   *
080   * @param  m  The log message to be parsed as an unbind request access log
081   *            message.
082   */
083  public UnbindRequestAccessLogMessage(final LogMessage m)
084  {
085    super(m);
086  }
087
088
089
090  /**
091   * {@inheritDoc}
092   */
093  @Override()
094  public AccessLogOperationType getOperationType()
095  {
096    return AccessLogOperationType.UNBIND;
097  }
098}