Project detailsyou will explore basic socket programming

Assignment Help JAVA Programming
Reference no: EM13371974

Project Details:

You will explore basic socket programming, threading and GUI design using Java's network library, threading system, and swing user interlace libraries to implement a basic chat client and saver system. Thc system will allow multiple. remote users to send and receive messages across the network. On receiving a send message from a client the server component will broadcast the message to the other clients connected to the server Consequently, the server component must be multithreaded so as to coordinate communications between the client systems

Part A- Basic Requirements

The basic requirements of this assignment are to implement the client and setter components as discussed above. The basic protocol of the system is described below:

The operations of the client arc:

SEND_SERVER_MESG send a basic text message to the sever
RECV_ SERVER MESG: receive text from the server

The operations of the server are:
RECV_CUENT_MESG: receive text from a client
BROADCAST_MF.SG: broadcast a text message received from a client to all the other clients connected to the server.

The server component should be multithreaded and new threads should be allocated and de-allocated when clients connect and disconnect from the server. These threads can he thought of as connection handlers which manage a client socket and input, output streams. To keep track of these handlers some son of dynamic data structure such as a vector or similar data structure can he used to coordinate access to these message handlers. The client component should be implemented at a GUI interface, and should allow users to anti text messages, display broadcast messages from the server, and send messages using a send button.

2494_client server chat system.png

Part B

I) Client registration (text file based, rather than database based, including usemarne and password)
2) Private messaging between users.
3) Blocking messages from specific users.
4) File or image transfer options.
5) Statistics functions for management at the server side (such as current users, total MSC'S, average time online, etc.).
6) Algorithms for efficient thread management.

Please make sure to include necessary unique comments in your source code and the GUI interfaces in case we have a doubt about the implementation Final marks depend on the quality, creativity and implementation of these extensions.

Reference no: EM13371974

Questions Cloud

Nonrecursive factorialwrite a nonrecursive version of the : nonrecursive factorialwrite a nonrecursive version of the factorial procedure that uses a loop. a wdeonote for this
Case study gap fillergap filler is a recruitment and labour : case study gap fillergap filler is a recruitment and labour hire company i.e. lsquostaffing solutions that services the
1 comparing portions of strings write an application that : 1. comparing portions of strings write an application that uses string method region-matches to compare two strings
Choose two hrm activities from the lsquohuman resources : choose two hrm activities from the lsquohuman resources management process model. you need to define these activities
Project detailsyou will explore basic socket programming : project detailsyou will explore basic socket programming threading and gui design using javas network library threading
Write down program in c for matrix multiplication program : write down program in c for matrix multiplication. program must accept dimension of both matrices to be multiplied and
You are part of the structural engineering design team on : you are part of the structural engineering design team on the design of a new five story office building. the
Question 1 economists have taken opposite stands on the : question 1 economists have taken opposite stands on the effect advertising can have on the level of competition in a
Maximum megahertz projectolaf bundi the ceo of wireless : maximum megahertz projectolaf bundi the ceo of wireless telecom company is in quandary. last year he accepted the

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd