-
application中将一个gen_server模块启动多个实例该怎么做10
论坛中的高手,我想在一个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日 14:59
目前还没有答案
相关推荐
Sun_Java_System_Application_Server_Enterprise_Edition_8.2管理指南
WebSphere_Application_Server在Linux_系统上安装和配置.doc
WebSphere Application Server History & Architecture WebSphere Application Server V6.1 Themes WebSphere Application Server V6.1 Key Features Summary
系列文章的第 1 部分,向您介绍了WebSphere Application Server 系统管理的拓扑结构,概要的类型、目录结构,以及如何使用概要构建一个系 统,从而让您对概要有了一个更加清楚的认识和理解。本文截取自IBM 红皮书...
英文,来源:www.modbus-IDA.org
WebSphere_Application_Server_V6技术文档 英文PPT 学习学习哦
JBoss_Application_Server_7.1官方文档
JBoss_Application_Server_7.1官方文档,如果做jboss-as-7集群,强烈推荐下载,本文档为英文版本!
WebSphere_Application_Server实用详解教程,包括安装使用与配置详解
MyEclipse的一个入门资料,教怎么快速的掌握如何应用MyEclipse做开发。
Report aplication examples
在VS2012中学习重载函数中的实例 ,入门级学习
ae开发,基本gis程序,地图浏览、鹰眼、放大缩小、添加数据、属性表、右键菜单等基本功能
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 ...
MT6572_HSPA_Smartphone_Application_Processor_Technical_Brief_v1.0
WAS WebSphere 启动 错误 troubleshooting
MT5931_Application_Design_Notice_V1.0
《IBM WebSphere Application Server 常见问题及解答》是一本关于 IBM WebSphere Application Server 产品家族的问题集锦,其中收集了客户在使用此产品时遇到的一些常见问题。这本问题解答可以被看作是对产品使用...
pentaho启动难得源码资料,需要者请下载