001/* 002 * Copyright 2016-2017 UnboundID Corp. 003 * All Rights Reserved. 004 */ 005/* 006 * Copyright (C) 2016-2017 UnboundID Corp. 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.experimental; 022 023 024 025import com.unboundid.ldap.sdk.Entry; 026import com.unboundid.ldap.sdk.LDAPException; 027import com.unboundid.ldap.sdk.OperationType; 028import com.unboundid.util.NotMutable; 029import com.unboundid.util.ThreadSafety; 030import com.unboundid.util.ThreadSafetyLevel; 031 032 033 034/** 035 * This class represents an entry that holds information about an unbind 036 * operation processed by an LDAP server, as per the specification described in 037 * draft-chu-ldap-logschema-00. 038 */ 039@NotMutable() 040@ThreadSafety(level=ThreadSafetyLevel.COMPLETELY_THREADSAFE) 041public final class DraftChuLDAPLogSchema00UnbindEntry 042 extends DraftChuLDAPLogSchema00Entry 043{ 044 /** 045 * The serial version UID for this serializable class. 046 */ 047 private static final long serialVersionUID = -1596182705806691625L; 048 049 050 051 /** 052 * Creates a new instance of this unbind access log entry from the provided 053 * entry. 054 * 055 * @param entry The entry used to create this unbind access log entry. 056 * 057 * @throws LDAPException If the provided entry cannot be decoded as a valid 058 * unbind access log entry as per the specification 059 * contained in draft-chu-ldap-logschema-00. 060 */ 061 public DraftChuLDAPLogSchema00UnbindEntry(final Entry entry) 062 throws LDAPException 063 { 064 super(entry, OperationType.UNBIND); 065 } 066}