HXChat

所属分类:Java编程
开发工具:Java
文件大小:17KB
下载次数:43
上传日期:2004-09-12 19:37:00
上 传 者dircls
说明:  一个JAVA聊天程序
(a Java chat program)

文件列表:
ChatCanvas.class (10184, 1999-09-15)
ChatClient.class (6841, 1999-09-15)
EChat.class (4535, 1999-09-15)
EChatInterface.class (444, 1999-09-15)
EChatServer.class (2471, 1999-09-15)
Etracking.class (2292, 1999-09-15)
UserMessage.class (490, 1999-09-15)

The HeliosXerxes ChatRoom is an entirely Java-based system. To run the HeliosXerxes ChatRoom on your server: 1) Upload all of the classes to your server, classes beginning with E comprise the server-side application code and all other classes comprise the applet code. 2) To start the server-side code, type in the following on the command-line java EChatServer XXXXX & where XXXXX is a number greater than 1024 and preferably higher, possibly around 5000 or 6000. 3) Did this work? (You got a message saying server was set up.) Yes-skip goto 4 and keep a note of the port you set up the chatroom on. No- Most likely explanations: a) You don't have java running on your server, after all. You can't use the HeliosXerxes ChatRoom. b) You typed in a bad port number; you may have typed in a non-numeric string, or another application may be running on the port you tried to open. In either case, try again. Other possibilities: c) Perhaps the byte codes were corrupted when you uploaded them or the server you're on may not be configured properly. 4) Add the following html code to the html document, e.g., chatroom.html, which will display the chat room Here again, XXXXX denotes the port number on the server. This must be the same number you typed in step 2). ZZZZZ denotes the codebase where your classes are stored. That is, it must be of the form http://www.myWebPage.com 5) You're ready to try out your chatroom. Go to http://www.myWebPage.com/chatroom.html, or whatever you called the html document on which the applet is to be displayed. 6) Follow the directions which appear on the applet. Sign on. You should get a statement to the effect that you're the only participant signed on. (You after all, did just set up the chat room.) Type in some messages and see what happens. As with everything else on the web, the chatroom runs only as fast as the web allows. So you may notice that sometimes it runs nice and fast and sometimes it may be painfully slow. Yes, you may operate as many chat rooms as you like. (See License Agreement.) Only, remember to set up each separate chat room on a separate port. Remember also to include a link to our site, www.heliosxerxes.com. If you have any further questions or comments don't hesitate to contact www.heliosxerxes.com. License Agreement: The licensee is granted permission to operate as many copies as he/she likes on as many web sites, excluding any porn or so-called adult web sites, as she/he likes, with the provision that the byte codes not be altered and that links to www.heliosxerxes.com appear on all pages on which the HeliosXerxes ChatRoom is displayed. Neither HeliosXerxes Enterprises, its employees, nor its affiliates shall be held responsible for any opinions which chat room participants may express. It is a violation of this licensing agreement to use the HeliosXerxes ChatRoom in a manner contrary to its intended use, including but not limited to running the chatroom client without the chatroom server or running the chatroom server without the chatroom client, and neither HeliosXerxes Enterprises, its employees, nor its affiliates shall be held responsible for any activities resulting therefrom. Neither HeliosXerxes Enterprises, its employees, nor its affiliates shall be held responsible for any damage, unlikely though it is, to the licensee's software, hardware systems, career, personal life, or bad harvest, that may result from the installation and use of the HeliosXerxes ChatRoom. By uploading the HeliosXerxes ChatRoom classes to a server, you agree to terms specified.

近期下载者

相关文件


收藏者