Esempio n. 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,
	}
}
Esempio n. 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,
	}
}
Esempio n. 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,
	}
}
Esempio n. 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,
	}
}