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

com.arjuna.mw.wscf.common.CoordinatorId Maven / Gradle / Ivy

The newest version!
/*
   Copyright The Narayana Authors
   SPDX-License-Identifier: Apache-2.0
 */



package com.arjuna.mw.wscf.common;

/**
 * Implementations of this interface provide globally unique identifications
 * for coordinators. The may use the activity id but need not do so.
 *
 * @author Mark Little ([email protected])
 * @version $Id: CoordinatorId.java,v 1.2 2003/01/07 10:33:34 nmcl Exp $
 * @since 1.0.
 */

public interface CoordinatorId
{

    /**
     * Two instances are identical if their targets are the same.
     */

    public boolean equals (Object obj);
    
    /**
     * @return the byte stream representing this instance.
     */

    public byte[] value ();
    
    /**
     * @return true if this instance is valid, false
     * otherwise.
     */

    public boolean valid ();

    /**
     * @return string form.
     */

    public String toString ();
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy