TCCC Agent API
|
#include <ITCCCCallback.h>
Public Member Functions | |
virtual void | OnSuccess (const T &value)=0 |
virtual void | OnError (TCCCError error_code, const char *error_message)=0 |
模版回调类
|
pure virtual |
出错时回调
error_code | 错误码,详细描述请参见错误码表 |
error_message | 错误描述 |
|
pure virtual |
成功时回调,不带参数