package de.tu_dresden.diplom.richter_mirko_mat2628335.witness.process.result;

import de.tu_dresden.diplom.richter_mirko_mat2628335.common.result.IFBaseResult;

/**
 * 
 */
public interface IFDigestAgreementConfirmationResult extends IFBaseResult{

   public static final int NO_CONTEXT = CUSTOM_START + 1;
   public static final int CONTEXT_INVALID = CUSTOM_START + 2;
   public static final int NO_PROCESS = CUSTOM_START + 3;


   public static final int WAITING_FOR_SECOND_REQUEST = CUSTOM_START + 4;
   public static final int DIGEST_MATCH_FAILURE = CUSTOM_START + 5;
   public static final int PARAMETER_WAS_NULL = CUSTOM_START + 6;
   public static final int REQUESTS_BELONG_TO_DIFFERENT_COMM_STEPS = CUSTOM_START + 7;
   public static final int DEPENDENCIES_DIFFER = CUSTOM_START + 8;
   public static final int AMOUNTS_DIFFER = CUSTOM_START + 9;
   public static final int TARGET_ACCOUNT_UNKNOWN = CUSTOM_START + 10;
   public static final int CREATION_OF_ACCOUNT_TRANSFER_CONTEXT_FAILED = CUSTOM_START + 11;
   public static final int FORMER_AGREEMENT_REFERENCES_DIFFER = CUSTOM_START + 12;
   public static final int NO_ACCOUNT_TRANSFER_CONTEXT_FOUND = CUSTOM_START + 13;
   public static final int ACCOUNT_TRANSFER_CONTEXT_INVALID = CUSTOM_START + 14;


   public static final int FATAL_STATE_ERROR = CUSTOM_START + 99;
   public static final int UNMANAGED_REQUEST = CUSTOM_START + 100;

   /**
    * The id for later referenciation to this agreement. (@see witness.depenency.Dependency)
    * @return
    */
   public String getReference();

}
