一、SoapServer 服务器1、__construct作用:创建 SoapServer 对象用法:__construct ( mixed wsdl [, array options] )参数:wsdl 文件地址,options soap_version,encoding,actor,classm...
分类:
Web程序 时间:
2014-06-27 18:50:37
阅读次数:
1217
本文分析了Spark1.0.0的Client,Master和Worker之间是如何通信的。通过对通信的分析,可以清楚的理解各个角色的作用和责任,和它在集群中扮演的不同角色。
当然了,为了便于源码分析,本文开始分析了akka,一个非常优秀的actor的实现:高性能,易于编程,可扩展和弹性无中心。...
分类:
其他好文 时间:
2014-06-18 06:59:54
阅读次数:
183
7.Occupant Use CasesThe main actor in a
multi-user chat environment is the occupant, who can be said to be located "in"
a multi-user chat room and to ...
分类:
其他好文 时间:
2014-06-11 10:13:56
阅读次数:
261
作者: tianhai110 原文链接
用例图主要用来描述“用户、需求、系统功能单元”之间的关系。它展示了一个外部用户能够观察到的系统功能模型图。
【用途】:帮助开发团队以一种可视化的方式理解系统的功能需求。 用例图所包含的元素如下: 1.参与者(Actor) 表示与您的应用程序或系统...
分类:
其他好文 时间:
2014-06-06 23:28:39
阅读次数:
208
The Actor is the unit of execution in Akka.
Actors are object-oriented in the sense that they encapsulate state and
behavior, but they have much stron...
分类:
其他好文 时间:
2014-06-06 10:37:41
阅读次数:
344
实质是检测矩形与circle是否重叠基本函数,判断点是否在circle中1 public
static boolean IsInside( float x, float y, Circle circle ){2 float disX = x -
circle.x;3 ...
分类:
其他好文 时间:
2014-05-31 13:52:49
阅读次数:
186
用例图所包含的元素如下: 1. 参与者(Actor)
表示与您的应用程序或系统进行交互的用户、组织或外部系统。用一个小人表示。 2. 用例(Use Case)
用例就是外部可见的系统功能,对系统提供的服务进行描述。用椭圆表示。 3. 子系统(Subsystem) 用来展示系统的一部分功能...
分类:
其他好文 时间:
2014-05-23 07:20:18
阅读次数:
229
Actor也是libgdx中非常重要的一个元素,一般与stage配合一起使用。Actor能够设置大小,位置,旋转和动画等。我们自定义的Actor一般需要继承于Actor,并且重写其中的act和draw方法。自定义的actor是一个图片。
1 class MyActor extends Actor{ ...
分类:
其他好文 时间:
2014-05-21 19:15:51
阅读次数:
295
消息传递(Message Passing)
通常可用把并行程序理解为一组相互独立的、能够发关和接收消息的组件,这也称为角色模型(ActorModel),在维基百科上可找到更正式的解释
http://en.wikipedia.org/wiki/Actor_model。虽然使用消息传递的场景往往相当复杂,但是其背后的思想却相对简单,正像下面将要看到的示例一样:
消息传递背后的基本思想是这...
分类:
其他好文 时间:
2014-05-18 08:16:28
阅读次数:
373
在lua中创建一个Actor对象function Actor.new() local temp
= {} setmetatable(temp, Actor) temp.x = 10 temp.y = 20 return tempendobj =
Actor.new()那么obj.x = 1...
分类:
其他好文 时间:
2014-05-08 15:04:41
阅读次数:
348