def __init__(self, trans, service_name=None, fastbinary=False, logger=None): TBinaryProtocol.__init__(self, trans, False, True) if service_name: self.service_name_ = service_name + SEPARATOR else: self.service_name_ = None self.logger = logger self.last_name = None self.start = None
def __init__(self, trans): TBinaryProtocol.__init__(self, trans) self.strictRead = False self.strictWrite = True self.trace_context = getTraceContext()
def __init__(self, trans, strictRead=False, strictWrite=True, service=None): TBinaryProtocol.__init__(self, trans, strictRead, strictWrite) self.service = service