Package org.apache.directory.api.ldap.model.message.controls

Examples of org.apache.directory.api.ldap.model.message.controls.ChangeType


                Entry entry = replicaEventMessage.getEntry();
                PROVIDER_LOG.debug( "Read message from the queue {}", entry );

                lastSentCsn = entry.get( CSN_AT ).getString();

                ChangeType event = replicaEventMessage.getChangeType();

                SyncStateTypeEnum syncStateType = null;

                switch ( event )
                {
View Full Code Here


        {
            if ( LOG.isDebugEnabled() )
            {
                String evt = "MODDN"; // take this as default cause the event type for MODDN is null

                ChangeType changeType = evtMsg.getChangeType();

                if ( changeType != null )
                {
                    evt = changeType.name();
                }

                LOG.debug( "event {} for dn {} is not qualified for sending", evt, evtMsg.getEntry().getDn() );
            }
View Full Code Here

                LOG.debug( "Read message from the queue {}", entry );
                PROVIDER_LOG.debug( "Read message from the queue {}", entry );

                lastSentCsn = entry.get( CSN_AT ).getString();

                ChangeType event = replicaEventMessage.getChangeType();

                SyncStateTypeEnum syncStateType = null;

                switch ( event )
                {
View Full Code Here

                LOG.debug( "Read message from the queue {}", entry );
                PROVIDER_LOG.debug( "Read message from the queue {}", entry );

                lastSentCsn = entry.get( CSN_AT ).getString();

                ChangeType event = replicaEventMessage.getChangeType();

                SyncStateTypeEnum syncStateType = null;

                switch ( event )
                {
View Full Code Here

        {
            if ( LOG.isDebugEnabled() )
            {
                String evt = "MODDN"; // take this as default cause the event type for MODDN is null

                ChangeType changeType = evtMsg.getChangeType();

                if ( changeType != null )
                {
                    evt = changeType.name();
                }

                LOG.debug( "event {} for dn {} is not qualified for sending", evt, evtMsg.getEntry().getDn() );
            }
View Full Code Here

                LOG.debug( "Read message from the queue {}", entry );
                PROVIDER_LOG.debug( "Read message from the queue {}", entry );

                lastSentCsn = entry.get( CSN_AT ).getString();

                ChangeType event = replicaEventMessage.getChangeType();

                SyncStateTypeEnum syncStateType = null;

                switch ( event )
                {
View Full Code Here

                LOG.debug( "Read message from the queue {}", entry );
                PROVIDER_LOG.debug( "Read message from the queue {}", entry );
               
                lastSentCsn = entry.get( CSN_AT ).getString();
               
                ChangeType event = replicaEventMessage.getChangeType();
               
                SyncStateTypeEnum syncStateType = null;
               
                switch ( event )
                {
View Full Code Here

    public byte[] serialize( Object object ) throws IOException
    {
        ReplicaEventMessage replicaEventMessage = ( ReplicaEventMessage ) object;

        Entry entry = replicaEventMessage.getEntry();
        ChangeType changeType = replicaEventMessage.getChangeType();

        ByteArrayOutputStream baos = new ByteArrayOutputStream();
        ObjectOutput out = new ObjectOutputStream( baos );

        // The change type first
        out.writeByte( changeType.getValue() );

        // The entry DN
        entry.getDn().writeExternal( out );

        // The entry
View Full Code Here

        try
        {
            // The changeType
            byte type = in.readByte();
            ChangeType changeType = ChangeType.getChangeType( type );

            // The Entry's DN
            Dn entryDn = new Dn( schemaManager );
            entryDn.readExternal( in );
View Full Code Here

        {
            if ( LOG.isDebugEnabled() )
            {
                String evt = "MODDN"; // take this as default cause the event type for MODDN is null

                ChangeType changeType = evtMsg.getChangeType();

                if ( changeType != null )
                {
                    evt = changeType.name();
                }

                LOG.debug( "event {} for dn {} is not qualified for sending", evt, evtMsg.getEntry().getDn() );
            }
View Full Code Here

TOP

Related Classes of org.apache.directory.api.ldap.model.message.controls.ChangeType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.