// NewAddServiceClient returns an *rpc.Client wrapper for calling the methods of // AddService remotely. func NewAddServiceClient(conn net.Conn) AddService { return rpcAddServiceClient{rpc.NewClientWithCodec(codec.NewClientCodec(conn))} }
// NewConcatServiceClient returns an *rpc.Client wrapper for calling the methods of // ConcatService remotely. func NewConcatServiceClient(conn net.Conn) ConcatService { return rpcConcatServiceClient{rpc.NewClientWithCodec(codec.NewClientCodec(conn))} }
// NewOffloadServiceClient returns an *rpc.Client wrapper for calling the methods of // OffloadService remotely. func NewOffloadServiceClient(conn net.Conn) OffloadService { return rpcOffloadServiceClient{rpc.NewClientWithCodec(codec.NewClientCodec(conn))} }
// NewRequestServiceClient returns an *rpc.Client wrapper for calling the methods of // RequestService remotely. func NewRequestServiceClient(conn net.Conn) RequestService { return rpcRequestServiceClient{rpc.NewClientWithCodec(codec.NewClientCodec(conn))} }
// NewLearnerClient returns an *rpc.Client wrapper for calling the methods of // Learner remotely. func NewLearnerClient(conn net.Conn) Learner { return rpcLearnerClient{rpc.NewClientWithCodec(codec.NewClientCodec(conn))} }
// NewAcceptorClient returns an *rpc.Client wrapper for calling the methods of // Acceptor remotely. func NewAcceptorClient(conn net.Conn) Acceptor { return rpcAcceptorClient{rpc.NewClientWithCodec(codec.NewClientCodec(conn))} }