Interface MagdaConnector


public interface MagdaConnector
An interface to send MagdaRequests to MAGDA and receive a MagdaResponses. If something goes wrong, a ServerException may be thrown.
  • Method Summary

    Modifier and Type
    Method
    Description
    send(MagdaRequest magdaRequest)
    Sends a MAGDA request.
  • Method Details

    • send

      MagdaResponse send(MagdaRequest magdaRequest) throws ServerException
      Sends a MAGDA request.
      Parameters:
      magdaRequest - the request to MAGDA.
      Returns:
      the response from MAGDA.
      Throws:
      ServerException - an error that may be thrown in cases of no response or validation errors from the server.