All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.asteriskjava.pbx.asterisk.wrap.actions.AbstractManagerAction Maven / Gradle / Ivy

There is a newer version: 3.41.0
Show newest version
package org.asteriskjava.pbx.asterisk.wrap.actions;

import java.util.concurrent.atomic.AtomicLong;

/**
 * Automatically generates a globally unique action id (based on the systems mac
 * address
 * 
 * @author bsutton
 */
abstract public class AbstractManagerAction implements ManagerAction
{

    private final static AtomicLong _nextActionId = new AtomicLong();

    private final String _actionId = "" + _nextActionId.incrementAndGet();

    public String getActionId()
    {
        return this._actionId;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy