add comments for async call.

This commit is contained in:
winlin 2015-06-17 16:42:43 +08:00
parent 3211282b0c
commit 8102a22606

View File

@ -48,7 +48,16 @@ public:
ISrsAsyncCallTask();
virtual ~ISrsAsyncCallTask();
public:
/**
* execute the task async.
* this method is the actual execute method of task,
* for example, to notify callback server.
*/
virtual int call() = 0;
/**
* convert task to string to describe it.
* used for logger.
*/
virtual std::string to_string() = 0;
};