TCCC Agent API
Public Member Functions | List of all members
tccc::ITXValueCallback< T > Class Template Referenceabstract

#include <ITCCCCallback.h>

Public Member Functions

virtual void OnSuccess (const T &value)=0
 
virtual void OnError (TCCCError error_code, const char *error_message)=0
 

Detailed Description

template<class T>
class tccc::ITXValueCallback< T >

模版回调类

Member Function Documentation

◆ OnError()

template<class T >
virtual void tccc::ITXValueCallback< T >::OnError ( TCCCError  error_code,
const char *  error_message 
)
pure virtual

出错时回调

Parameters
error_code错误码,详细描述请参见错误码表
error_message错误描述

◆ OnSuccess()

template<class T >
virtual void tccc::ITXValueCallback< T >::OnSuccess ( const T &  value)
pure virtual

成功时回调,不带参数


The documentation for this class was generated from the following file: