Package ai.tock.bot.connector
Interface ConnectorMessage
-
- All Implemented Interfaces:
-
ai.tock.bot.connector.ConnectorMessageProvider
public interface ConnectorMessage implements ConnectorMessageProvider
Connector specific message format.
-
-
Method Summary
Modifier and Type Method Description GenericMessagetoGenericMessage()Transforms this message into a generic GenericMessage. ConnectorMessageobfuscate()Obfuscate the message - by default this method does nothing. ConnectorMessagetoConnectorMessage()Provides the ConnectorMessage. abstract ConnectorTypegetConnectorType()The connector type. -
-
Method Detail
-
toGenericMessage
GenericMessage toGenericMessage()
Transforms this message into a generic GenericMessage.
- Returns:
the generic transformed element, null if unsupported
-
obfuscate
ConnectorMessage obfuscate()
Obfuscate the message - by default this method does nothing.
-
toConnectorMessage
ConnectorMessage toConnectorMessage()
Provides the ConnectorMessage.
-
getConnectorType
abstract ConnectorType getConnectorType()
The connector type.
-
-
-
-