Find Jobs
Hire Freelancers

design and implement a simplified tracking and chatting system

$10-30 USD

Fechado
Publicado há aproximadamente 8 anos

$10-30 USD

Pago na entrega
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 do Projeto: 10039672

Sobre o projeto

2 propostas
Projeto remoto
Ativo há 8 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
2 freelancers estão ofertando em média $43 USD for esse trabalho
Avatar do Usuário
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 em 1 dia
4,9 (1007 avaliações)
7,5
7,5
Avatar do Usuário
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 em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
san antonio, United States
4,8
14
Método de pagamento verificado
Membro desde jan. 28, 2016

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.