自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 ios 发布4

Reasons 3.2: Apps with placeholder text will be rejected 3.3: Apps with descriptions not relevant to the application content and functionality will be rejected 3.2 We found that your app and/o

2013-12-18 10:36:34 845

原创 pomelo rpc原理

以chatpomelo-websocket为例子 proxy收到ADD_SERVERS消息的时候,调用addServers方法, 分两步: 1加载代码生成代理路由 调用 genProxies(this.client, this.app, servers);,调用 client.addProxies(getProxyRecords(app, item));,client是rpccli

2013-12-17 12:42:12 1855

原创 ios发布3

Reasons 3.2: Apps with placeholder text will be rejected 3.3: Apps with descriptions not relevant to the application content and functionality will be rejected 3.2 We found that your app a

2013-12-17 12:01:26 905

原创 poemel 端口作用

clientPort 用于connetor组件启动时候,监听的调用,用于客户端连接 port用于服务器间通信,即rpc调用时候使用,在remote组件启动时候,生成remote,即gateway实例,然后调用gatewey的start,gateway的接收器开始监听port端口 proxy是每个服务器用于想远端请求使用的代理,在添加server的时候实例化组件

2013-12-15 23:00:28 792

原创 pomelo 服务器之间的通信

master服务器在启动的时候会启动mater服务,生成一个MasterAgent,作为中心服务器。 然后所有服务器,包括mater服务器,都会启动monitor服务,生成一个MonitorAgent,作为与中心服务器通信的客户端; 中心服务器,会监听所有服务器MonitorAgent的连接,首先收到connection消息,生成客户端socket,并监听一系列的消息 组件m

2013-12-15 22:13:16 2370

原创 pomelo 连接转发

componets:        connector 处理连接默认使用socketio        server 处理connector转发过来的msg,调用对应的handle         session 保存客户端的连接信息,生成用于后端使用的BackenSession connection 保存连接的统计信息 connector是核心,在start的时候会获取其他三个

2013-12-15 13:10:10 1300

原创 ios发布1

Reasons 3.2: Apps with placeholder text will be rejected Missing In App Purchase 3.2 We found that your app and/or its metadata does not appear to include final content, which is not in co

2013-12-10 10:55:36 1121 1

原创 ios发布2

Reasons 3.2: Apps with placeholder text will be rejected 3.3: Apps with descriptions not relevant to the application content and functionality will be rejected 3.2 We found that your app a

2013-12-10 10:52:08 1144

原创 libuv

依赖libuv时候,要把运行库设为mtd,而非mdd

2013-12-07 22:55:34 676

原创 nodejs c++启动过程3

Persistent v8::Context::New(     v8::ExtensionConfiguration* extensions,     v8::Handle global_template,     v8::Handle global_object) {   i::Isolate::EnsureDefaultIsolate();   i::Isolate* isolat

2013-12-03 12:04:21 1155

原创 nodejs 启动过程2

水电费是否 2-5 Isolate::Init bool Isolate::Init(Deserializer* des) {   ASSERT(state_ != INITIALIZED);   ASSERT(Isolate::Current() == this);   TRACE_ISOLATE(init);   // The initialization proc

2013-12-03 11:59:55 1056

原创 nodejs c++启动过程1

在isolate文件中中: struct StaticInitializer {   StaticInitializer() {     Isolate::EnsureDefaultIsolate();   } } static_initializer; 默认初始化了一个引擎实例,进入函数EnsureDefaultIsolate void Isolate::Ens

2013-12-02 20:12:58 1108

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除