concrete.services.Service module

class concrete.services.Service.Client(iprot, oprot=None)

Bases: concrete.services.Service.Iface

Base service that all other services should inherit from

about()

Get information about the service

alive()

Is the service alive?

recv_about()
recv_alive()
send_about()
send_alive()
class concrete.services.Service.Iface

Bases: object

Base service that all other services should inherit from

about()

Get information about the service

alive()

Is the service alive?

class concrete.services.Service.Processor(handler)

Bases: concrete.services.Service.Iface, thrift.Thrift.TProcessor

process(iprot, oprot)
process_about(seqid, iprot, oprot)
process_alive(seqid, iprot, oprot)
class concrete.services.Service.about_args

Bases: object

read(iprot)
thrift_spec = ()
validate()
write(oprot)
class concrete.services.Service.about_result(success=None)

Bases: object

- success
read(iprot)
thrift_spec = ((0, 12, 'success', (<class 'concrete.services.ttypes.ServiceInfo'>, (None, (1, 11, 'name', 'UTF8', None), (2, 11, 'version', 'UTF8', None), (3, 11, 'description', 'UTF8', None))), None),)
validate()
write(oprot)
class concrete.services.Service.alive_args

Bases: object

read(iprot)
thrift_spec = ()
validate()
write(oprot)
class concrete.services.Service.alive_result(success=None)

Bases: object

- success
read(iprot)
thrift_spec = ((0, 2, 'success', None, None),)
validate()
write(oprot)