100 #ifndef GOOGLE_PROTOBUF_SERVICE_H__
101 #define GOOGLE_PROTOBUF_SERVICE_H__
116 class ServiceDescriptor;
117 class MethodDescriptor;
135 STUB_DOESNT_OWN_CHANNEL
185 virtual const Message& GetRequestPrototype(
187 virtual const Message& GetResponsePrototype(
213 virtual void Reset() = 0;
219 virtual bool Failed()
const = 0;
222 virtual string ErrorText()
const = 0;
229 virtual void StartCancel() = 0;
240 virtual void SetFailed(
const string& reason) = 0;
245 virtual bool IsCanceled()
const = 0;
254 virtual void NotifyOnCancel(
Closure* callback) = 0;
291 #endif // GOOGLE_PROTOBUF_SERVICE_H__
Definition: descriptor.h:918
RpcChannel()
Definition: service.h:270
RpcController()
Definition: service.h:204
Definition: service.h:125
Definition: service.h:268
#define GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeName)
Definition: common.h:89
Definition: descriptor.h:846
Definition: message.h:165
Definition: service.h:134
Service()
Definition: service.h:127
Definition: service.h:202
#define LIBPROTOBUF_EXPORT
Definition: common.h:105
Definition: BnetFileGenerator.h:47
ChannelOwnership
Definition: service.h:133