Beispiel #1
0
func NewReverseOrderServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ReverseOrderServiceClient {
	return &ReverseOrderServiceClient{Transport: t,
		ProtocolFactory: f,
		InputProtocol:   f.GetProtocol(t),
		OutputProtocol:  f.GetProtocol(t),
		SeqId:           0,
	}
}
Beispiel #2
0
func NewCalculatorClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *CalculatorClient {
	return &CalculatorClient{Transport: t,
		ProtocolFactory: f,
		InputProtocol:   f.GetProtocol(t),
		OutputProtocol:  f.GetProtocol(t),
		SeqId:           0,
	}
}
Beispiel #3
0
func NewEmptyServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *EmptyServiceClient {
	return &EmptyServiceClient{Transport: t,
		ProtocolFactory: f,
		InputProtocol:   f.GetProtocol(t),
		OutputProtocol:  f.GetProtocol(t),
		SeqId:           0,
	}
}
Beispiel #4
0
func NewTrancamServerClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TrancamServerClient {
	return &TrancamServerClient{Transport: t,
		ProtocolFactory: f,
		InputProtocol:   f.GetProtocol(t),
		OutputProtocol:  f.GetProtocol(t),
		SeqId:           0,
	}
}
func NewServiceForExceptionWithAMapClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ServiceForExceptionWithAMapClient {
	return &ServiceForExceptionWithAMapClient{Transport: t,
		ProtocolFactory: f,
		InputProtocol:   f.GetProtocol(t),
		OutputProtocol:  f.GetProtocol(t),
		SeqId:           0,
	}
}