Services
Service: ConvertCommunicationService
Convert service methods for converting between Concrete
Communications and other formats.
Function: ConvertCommunicationService.fromConcrete
binary
fromConcrete(communication.Communication
original)
throws services.ServicesException
Converts a Concrete Communication to another format.
The output is encoded as a bytestring.
It is up to the implementing service to ensure that
the output format is valid.
Can throw a ConcreteThriftException upon error
(invalid input, etc.).
Function: ConvertCommunicationService.toConcrete
communication.Communication
toConcrete(binary
original)
throws services.ServicesException
Converts another format to a Concrete Communication.
The input is encoded as a bytestring.
It is up to the implementing service to ensure that
the input format is valid.
Can throw a ConcreteThriftException upon error
(invalid input, etc.).