Find Jobs
Hire Freelancers

design and implement a simplified tracking and chatting system

$10-30 USD

已关闭
已发布大约 8 年前

$10-30 USD

货到付款
The server program will serve client requests and maintain all the below mentioned information about each active client in a linked list. (Note that Java RMI automatically uses multiple threads to process requests originating from different clients.) Each client will connect to the server and register itself by reporting its initial (x,y) location along with other information such as name, age etc. The server will assign a unique ID to each client and send this ID to the client. The client program should be able to get the short messages that might be sent by other clients (peers) and print them on the screen. So the client program should also register the additional information that makes this possible to the server and server should maintain that information too. After the registration step, the server program will wait for clients’ requests and accordingly respond to them. A client's main thread can make the following requests (which are entered by the user running the client program): 1. go -50 30 : client wants to go 50m South and 30m East, server updates the location and reports the new location (go 40 -20 means go 40m North and 20m West) 2. get location : client wants to know its current (x,y) location, server reports the current location of this client 3. list 30 : client wants to get the list of users within 30m, server determines such clients/users within 30m of requesting client and send their information (user-id, name, age, additional info) to the client, client keeps that list in a linked list and prints their user-id, name, and age on the screen 4. send user-id msg : client sends msg directly to user-id. Server not involved here. 5. quit : client leaves the system, server takes it out from the list Clearly, there will be some shared resource at the server and/or client so you need to protect them and implement necessary synchronization mechanisms. Run the rmiregistry and server program on hostA as follows: hostA\> rmiregistry [port] & hostA\> java server & Run each clients on different hosts as follows: anyhost\> java client –SH hostA -N name -L x y –A age
项目 ID: 10039672

关于此项目

2提案
远程项目
活跃8 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
2威客以平均价$43 USD来参与此工作竞价
用户头像
I find this academic project interesting and can be done. I have went through the requirements and I have experience on all of the concepts mentioned such as RMIs, threadings, lists, and so on. I would like to do this project if given the opportunity. Let me know if you are interested so I can start. Thanks.
$30 USD 在1天之内
4.9 (1007条评论)
7.5
7.5
用户头像
I am known to Java networking. I can do this . I am known to Java networking. I can do this . I am known to Java networking. I can do this .
$55 USD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
san antonio, United States
4.8
14
付款方式已验证
会员自1月 28, 2016起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。