-
怎样在一个application中将一个gen_server模块启动多个实例5
请问论坛中的高手,我想在一个application中将一个gen_server模块启动多个实例该怎么做?比如我想在application启动2个ibrowse,给我的2个不同模块的gen_server调用.
我现在启动一个没问题:
如下:
init([Port]) ->
error_logger:info_report([{"ANALYZE BOOTS"}]),
AChild = {ibrowse,{ibrowse,start_link,[]},
permanent,2000,worker,[ibrowse, ibrowse_http_client]},
{ok, {{one_for_one,?MAX_R, ?MAX_T}, [
{mochi_server, {web_server, start, [Port]},
permanent, 10, worker, dynamic}
,AChild]}
}.
现在想启动2个ibrowse,给2个不同的gen_server调用,该如何做哪?2011年4月21日 10:32
目前还没有答案
相关推荐
Sun_Java_System_Application_Server_Enterprise_Edition_8.2管理指南
WebSphere Application Server History & Architecture WebSphere Application Server V6.1 Themes WebSphere Application Server V6.1 Key Features Summary
系列文章的第 1 部分,向您介绍了WebSphere Application Server 系统管理的拓扑结构,概要的类型、目录结构,以及如何使用概要构建一个系 统,从而让您对概要有了一个更加清楚的认识和理解。本文截取自IBM 红皮书...
WebSphere_Application_Server在Linux_系统上安装和配置.doc
WebSphere_Application_Server实用详解教程,包括安装使用与配置详解
ae开发,基本gis程序,地图浏览、鹰眼、放大缩小、添加数据、属性表、右键菜单等基本功能
WebSphere_Application_Server_V6技术文档 英文PPT 学习学习哦
JBoss_Application_Server_7.1官方文档
JBoss_Application_Server_7.1官方文档,如果做jboss-as-7集群,强烈推荐下载,本文档为英文版本!
Report aplication examples
MyEclipse的一个入门资料,教怎么快速的掌握如何应用MyEclipse做开发。
pentaho启动难得源码资料,需要者请下载
在android中必须要有一个application,那我们用第三方的时候多个application如何使用,这是一个demo,值得你看一下
This application note is a general introduction to the COM server functionality of CANalyzer and CANoe. It presents the basic technical aspects and possibilities, and explains these using Microsoft ...
《IBM WebSphere Application Server 常见问题及解答》是一本关于 IBM WebSphere Application Server 产品家族的问题集锦,其中收集了客户在使用此产品时遇到的一些常见问题。这本问题解答可以被看作是对产品使用...
JSPapplication实例,对应我的博文: http://blog.csdn.net/svitter/article/details/26010293
ArcGIS_Server_开发入门 • 介绍Author, Publish, Consume 模式 • 使用Manager 并创建a Web mapping application • 添加tasks到应用中 • 介绍ArcGIS Server components 和框架architecture
This example uses the FTP Server Profile library (ftps) to implement a simple read-only FTP server application. When the application is running, Bluetooth FTP Profile client devices can connect to ...
提示:Server Application Error 然后就有了下面的一段话。 The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more ...
WebSphere Application Server V6WebSphere Application Server V6