sessions
所属分类:xml/soap/webservice
开发工具:Visual C++
文件大小:21KB
下载次数:7
上传日期:2011-04-12 21:47:30
上 传 者:
msf
说明: This demo shows the use of a Glacier2 session by a
simple chat server.
文件列表:
Chat.ice (622, 2005-04-02)
ChatSessionI.cpp (2807, 2005-04-05)
ChatSessionI.h (811, 2005-04-02)
Client.cpp (3013, 2005-04-02)
Client.dsp (4877, 2005-04-01)
Makefile (877, 2005-04-01)
Server.cpp (1537, 2005-04-02)
Server.dsp (5013, 2005-04-01)
all.dsp (1725, 2005-04-01)
all.dsw (1077, 2005-04-02)
certs (0, 2005-04-05)
certs\cacert.pem (1728, 2005-04-01)
certs\client_sslconfig.xml (552, 2005-04-01)
certs\c_dh1024.pem (245, 2005-04-01)
certs\c_rsa1024_priv.pem (891, 2005-04-01)
certs\c_rsa1024_pub.pem (4213, 2005-04-01)
certs\server_sslconfig.xml (589, 2005-04-01)
certs\sslconfig.dtd (1295, 2005-04-01)
certs\sslconfig.xml (991, 2005-04-01)
certs\s_dh1024.pem (245, 2005-04-01)
certs\s_rsa1024_priv.pem (887, 2005-04-01)
certs\s_rsa1024_pub.pem (4212, 2005-04-01)
config (1036, 2005-04-02)
config.glacier2 (1273, 2005-04-02)
config.server (274, 2005-04-02)
Introduction
------------
This demo shows the use of a Glacier2 session by a
simple chat server.
This demo application was tested under Windows XP and Fedora Core 3
using the Ice 2.1.0 binary distribution (see
http://www.zeroc.com/download.html).
Build Instructions
------------------
These build instructions assume that you have installed a binary
distribution of Ice 2.1.0.
Under Windows, you must first correctly configure your build
environment according to the directions in the README that comes with
the Ice 2.1.0 binary distribution. In addition, you need to set the
environment variable ICE_HOME to point to the root of your Ice
installation. For example, do the following:
Start/Control Panel/System. Select the Advanced Tab, then Environment
Variables. In the top section "User variables for ", select
New. Create a new variable ICE_HOME with the value C:\Ice-2.1.0
(assuming that you've installed Ice 2.1.0 in C:\Ice-2.1.0).
Under UNIX, you must first edit the included Makefile and set the
top_srcdir variable correctly. It must point to the top of the
documentation hierarchy. (For Fedora Core 3, if you have installed
the Ice 2.1.0 RPMs, this will be set correctly already.)
Execution Instructions
----------------------
To run the demo, first start the chat server:
$ server
In a separate window, start the Glacier2 router:
$ glacier2router --Ice.Config=config.glacier2
In a separate window, start the client:
$ client
近期下载者:
相关文件:
收藏者: