concrete.convert.ConvertCommunicationService module¶
-
class
concrete.convert.ConvertCommunicationService.Client(iprot, oprot=None)¶ Bases:
concrete.services.Service.Client,concrete.convert.ConvertCommunicationService.IfaceConvert service methods for converting between ConcreteCommunications and other formats.-
fromConcrete(original)¶ - Converts a Concrete Communication to another format.The output is encoded as a bytestring.It is up to the implementing service to ensure thatthe output format is valid.Can throw a ConcreteThriftException upon error(invalid input, etc.).Parameters:- original
-
recv_fromConcrete()¶
-
recv_toConcrete()¶
-
send_fromConcrete(original)¶
-
send_toConcrete(original)¶
-
toConcrete(original)¶ - Converts another format to a Concrete Communication.The input is encoded as a bytestring.It is up to the implementing service to ensure thatthe input format is valid.Can throw a ConcreteThriftException upon error(invalid input, etc.).Parameters:- original
-
-
class
concrete.convert.ConvertCommunicationService.Iface¶ Bases:
concrete.services.Service.IfaceConvert service methods for converting between ConcreteCommunications and other formats.-
fromConcrete(original)¶ - Converts a Concrete Communication to another format.The output is encoded as a bytestring.It is up to the implementing service to ensure thatthe output format is valid.Can throw a ConcreteThriftException upon error(invalid input, etc.).Parameters:- original
-
toConcrete(original)¶ - Converts another format to a Concrete Communication.The input is encoded as a bytestring.It is up to the implementing service to ensure thatthe input format is valid.Can throw a ConcreteThriftException upon error(invalid input, etc.).Parameters:- original
-
-
class
concrete.convert.ConvertCommunicationService.Processor(handler)¶ Bases:
concrete.services.Service.Processor,concrete.convert.ConvertCommunicationService.Iface,thrift.Thrift.TProcessor-
on_message_begin(func)¶
-
process(iprot, oprot)¶
-
process_fromConcrete(seqid, iprot, oprot)¶
-
process_toConcrete(seqid, iprot, oprot)¶
-
-
class
concrete.convert.ConvertCommunicationService.fromConcrete_args(original=None)¶ Bases:
objectAttributes:- original-
read(iprot)¶
-
validate()¶
-
write(oprot)¶
-
-
class
concrete.convert.ConvertCommunicationService.fromConcrete_result(success=None, ex=None)¶ Bases:
objectAttributes:- success- ex-
read(iprot)¶
-
validate()¶
-
write(oprot)¶
-