func (p *AddServiceClient) Sum(a int64, b int64) (r *SumReply, err error) {
	if err = p.sendSum(a, b); err != nil {
		return
	}
	return p.recvSum()
}
Parameters:
- A
- B
package addsvc
import (
	"bytes"
	"fmt"
	"github.com/apache/thrift/lib/go/thrift"
)
var _ = thrift.ZERO
var _ = fmt.Printf
var _ = bytes.Equal
type AddService interface {
	Sum(a int64, b int64) (r *SumReply, err error)
	Concat(a string, b string) (r *ConcatReply, err error)
}
type AddServiceClient struct {
	Transport       thrift.TTransport
	ProtocolFactory thrift.TProtocolFactory
	InputProtocol   thrift.TProtocol
	OutputProtocol  thrift.TProtocol
	SeqId           int32
}
func NewAddServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AddServiceClient {
	return &AddServiceClient{Transport: t,
		ProtocolFactory: f,
		InputProtocol:   f.GetProtocol(t),
		OutputProtocol:  f.GetProtocol(t),
		SeqId:           0,
	}
}
func NewAddServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AddServiceClient {
	return &AddServiceClient{Transport: t,
		ProtocolFactory: nil,
		InputProtocol:   iprot,
		OutputProtocol:  oprot,
		SeqId:           0,
	}
}