Interface IExchangeCommunicator


public interface IExchangeCommunicator
Interface allowing to send a message to MINA Exchange Service and also receive an answer to that message
Author:
Phillip Austerfield (phillip.austerfield@idmedia.com)
  • Method Details

    • sendMessage

      void sendMessage(@Nullable String sMessage, @Nullable IQueryRequestAnswerReceived pOnAnswerCallback)
      Send a message to your Connector
      Parameters:
      sMessage - Message to be send
      pOnAnswerCallback - Answer Callback Function to process result
    • requestSpecialistsBroker

      @Nullable <TSpecialistsBroker> TSpecialistsBroker requestSpecialistsBroker(Class<TSpecialistsBroker> T)
      Get the SpecialistsBroker to access FirstSpirit Services
      Type Parameters:
      TSpecialistsBroker -
      Parameters:
      T - TSpecialistsBroker
      Returns:
      Specialist Broker, may be null
    • getFirstSpiritProjects

      @NotNull Map<String,String> getFirstSpiritProjects(@Nullable ILanguageCodeGuesser pGuesser)
      Get List of FirstSpirit Projects
      Parameters:
      pGuesser -
      Returns:
      Map, never null
    • getTranslationStudioSecuritySpecialist

      @NotNull ITranslationStudioSecuritySpecialist getTranslationStudioSecuritySpecialist()
      Get Security Methods
      Returns:
    • getSecurityProtocols

      @Deprecated @NotNull List<String> getSecurityProtocols()
      Deprecated.
      Get a list of available security protocols
      Returns:
    • encryptString

      @NotNull String encryptString(@NotNull String sValue)
      Encrypt a given string
      Parameters:
      sValue -
      Returns:
      base64 encoded encrypted string or empty String on error
    • base64encode

      @NotNull String base64encode(@NotNull String sValue)
      Base64 encode a given String
      Parameters:
      sValue -
      Returns: