Завершено

Distributed file service with consistancy

Client

Upon startup, the client will perform the following actions:

Startup:

1. Prompt the user to input a username.

2. Connect to the server over a socket and register the username.

a. When the client is connected, the user should be notified of the active connection.

b. If the provided username is already in use, the client should disconnect and prompt the

user to input another username.

3. Proceed to manage the consistency of the shared file until killed by the user.

Updating Files:

1. The client will actively monitor the designated text file.

2. When an update to the file is noted, the client will notify the user of the update.

3. The client will then Push the updated file to the server. The user should be notified when the

upload is complete.

4. Return to step 1.

Retrieving Updates:

1. The client will listen for an Invalidation Notice from the server.

2. Upon receipt of the notice, the client will Pull the update and apply the update to its copy of

the shared .txt file.

3. The client will inform the user that an update has been completed.

4. Return to step 1.

Server

The server should support three concurrently connected clients and display a list of which clients are

connected in real-time. The server will execute the following sequence of steps:

1. Startup and listen for incoming connections.

2. Print that a client has connected, and:

a. If the client has an available username, fork a thread to handle that client. Or,

b. If the username is taken, reject the connection from that client.

3. When a client pushes an update to the server, the server should:

a. Accept the data from the client;

b. Print that an update has been received and from which client;

c. Issue Invalidation Notices to the remaining clients; and,

d. Allow the remaining clients to Pull the update.

4. Begin at step 2 until the process is killed by the user.

Квалификация: Java

Показать больше net file service, add java web service 2008 client, web service java client, calling web service java client, database file bwin poker client, debug web service soap client xml, converting txt email list cvs, java web service flex client, php soap web service dotnet client soap env, wcf service java client wsdl, txt email list format, php restful upload file service, txt email list, wcf service java client axis, delete part log file service logging unix, java web service axis2 client example, client needs check list web design, connect java web service net client

О работодателе:
( 0 отзыв(-а, -ов) ) Arlington, United States

ID проекта: #21749461

Поручен:

globalexpertss

Hi, I see that you are looking for a Java expert. I have years of extensive experience working with Java, JavaSE, JavaEE, J2EE, JavaME, and JavaFx software development kits and many other popular programming languages Больше

$100 USD за 3 дней(-я)
(11 отзывов(-а))
4.6

3 фрилансеров(-а) в среднем готовы выполнить эту работу за $147

susanna2018

⭐⭐⭐ Hi, Dear client. ⭐⭐⭐ I'm very interested your project. I read your description carefully. I'm very talented Java developer with full time. If you assign to me this project, you can get a cool result. If I am go Больше

$140 USD за 7 дней(-я)
(13 отзывов(-а))
5.7
DevStar925

Hi sir, how are you? I read your project description and I am interested in your job. As you can see my profile, I am a full-time developer and have just completed many projects. Specially, I have top skills for C/ Больше

$200 USD за 2 дней(-я)
(6 отзывов(-а))
5.2