| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #include "Net/RpcController.h"
- namespace Egametang {
- RpcController::RpcController()
- {
- }
- RpcController::~RpcController()
- {
- }
- void RpcController::Reset()
- {
- failed_ = false;
- reason_ = "";
- canceled_ = false;
- }
- bool RpcController::Failed() const
- {
- return failed_;
- }
- std::string RpcController::ErrorText() const
- {
- return reason_;
- }
- void RpcController::StartCancel()
- {
- }
- void RpcController::SetFailed(const string & reason)
- {
- }
- bool RpcController::IsCanceled() const
- {
- }
- void RpcController::NotifyOnCancel(Closure *callback)
- {
- }
- } // namespace Egametang
|