摘要:
关于C++异常的争论 http://www.codeproject.com/Articles/38449/C-Exceptions-Pros-and-Cons 阅读全文
posted @ 2012-12-13 10:00
#hanhui
阅读(158)
评论(0)
推荐(0)
摘要:
介绍HTTP Live Streaming的标准课程 http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Int... 阅读全文
posted @ 2012-12-13 09:59
#hanhui
阅读(148)
评论(0)
推荐(0)
摘要:
chain of responsibility When one object does not know which specific object will handle its request, the chain of responsibility can be used to for... 阅读全文
posted @ 2012-12-13 09:57
#hanhui
阅读(129)
评论(0)
推荐(0)
摘要:
Factory method is virtual method to create local-specific object in the class hierarchy. The base class may or not implement it. If a parameter is ... 阅读全文
posted @ 2012-12-13 09:54
#hanhui
阅读(78)
评论(0)
推荐(0)
摘要:
The decorator has same interfaces to component to which it enhances functions or appearance. It is also called wrapper. With this pattern, client do... 阅读全文
posted @ 2012-12-13 09:53
#hanhui
阅读(83)
评论(0)
推荐(0)
摘要:
Bridge pathern is used to decouple abstraction and implementation so that both can involve independently. This makes it easy to modify, extend and r... 阅读全文
posted @ 2012-12-13 09:49
#hanhui
阅读(96)
评论(0)
推荐(0)
摘要:
《数学之美》 看过多一半,然后放在家里让夫人看其中作者介绍其导师那一章 《软件管理沉思录》 电子版 《Design Patterns: Elements of Reusable Object-Oriented Software》,看了其中约15种模式 阅读全文
posted @ 2012-12-13 09:43
#hanhui
阅读(109)
评论(0)
推荐(0)
摘要:
之前有个小项目,具体需求是: 完成一个客户端,按照某一速度向服务器发送Radius请求,并处理服务器返回的响应. 实现方案: 采用多线程方式实现,每个线程负责发送请求,并等待服务器返回的响应. 测试发现,发送速度达到某个值时就无法增加了,日志显示内存不够,无法创建更多线程. 进而发现可以创建不... 阅读全文
posted @ 2012-12-13 09:30
#hanhui
阅读(291)
评论(0)
推荐(0)

浙公网安备 33010602011771号