package de.tu_dresden.diplom.richter_mirko_mat2628335.common.callback;

import de.tu_dresden.diplom.richter_mirko_mat2628335.common.callback.comm.IFSendHashResponse;
import de.tu_dresden.diplom.richter_mirko_mat2628335.common.callback.comm.IFSendHashRequest;

/**
 * Base-Service that is used for all callback-operations originating
 * at the witness.
 */
public abstract class CallbackService {

   /**
    * Method that requests some service to resend the hash (differences between the one
    * of client and service have been discovered at the witnessn)
    * @param request request incomming from witness
    * @return the newly created or only resent hash
    */
   public IFSendHashResponse sendResponseHash(IFSendHashRequest request){
      IFSendHashResponse result = null;

      return result;
   }

}
