摘要:
User-Defined Data Types in Messages(用户自定义类型)All user-defined types must be explicitly “announced” so that CAF can (de)serialize them correctly. 之前干活,一 阅读全文
posted @ 2016-03-09 21:26
浙江小麦
阅读(1954)
评论(0)
推荐(0)
摘要:
看usermanual(使用随笔一里面有)看到差不多一半的时候,这个keep_behavior与unbeacome的结合引起了我的注意。(这是为什么呢?) 因为它的示例代码写的太简单了!我真的没看太懂,我就自己把他的改了改放上来。 先讲一下,基本概念,就是一个actor可以有多个行为(behavio 阅读全文
posted @ 2016-03-09 14:02
浙江小麦
阅读(1281)
评论(0)
推荐(0)
摘要:
Class-based actorsA class-based actor is a subtype of event_based_actor and must implement the pure virtual member function make_behavior returning th 阅读全文
posted @ 2016-03-09 10:16
浙江小麦
阅读(3765)
评论(0)
推荐(0)

浙公网安备 33010602011771号