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 Summary
Modifier and TypeMethodDescriptionbase64encode(String sValue) Base64 encode a given StringencryptString(String sValue) Encrypt a given stringgetFirstSpiritProjects(ILanguageCodeGuesser pGuesser) Get List of FirstSpirit ProjectsDeprecated.Get Security Methods<TSpecialistsBroker>
TSpecialistsBrokerrequestSpecialistsBroker(Class<TSpecialistsBroker> T) Get the SpecialistsBroker to access FirstSpirit ServicesvoidsendMessage(String sMessage, IQueryRequestAnswerReceived pOnAnswerCallback) Send a message to your Connector
-
Method Details
-
sendMessage
void sendMessage(@Nullable String sMessage, @Nullable IQueryRequestAnswerReceived pOnAnswerCallback) Send a message to your Connector- Parameters:
sMessage- Message to be sendpOnAnswerCallback- 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
Get List of FirstSpirit Projects- Parameters:
pGuesser-- Returns:
- Map, never
null
-
getTranslationStudioSecuritySpecialist
Get Security Methods- Returns:
-
getSecurityProtocols
Deprecated.Get a list of available security protocols- Returns:
-
encryptString
Encrypt a given string- Parameters:
sValue-- Returns:
- base64 encoded encrypted string or empty String on error
-
base64encode
Base64 encode a given String- Parameters:
sValue-- Returns:
-