1 complete the partial code provided with this lab that

Assignment Help Computer Engineering
Reference no: EM13371380

1. Complete the partial code provided with this lab that implements a simple group communication application using Java's MulticastSocket class.

2. Change this program so that the members now send their ID and x messages (passed as arguments) and receive an unlimited number of messages. To identify the messages during the execution, you can use the following notation: MSG11 is the first message sent by member1, MSG32 is the second message transmitted by the member3. For example the first member will pass the following parameters: 1 3 228.5.6.7, specifying that the program the ID of the member which is 1, and that he will send 3 messages: MSG11, MSG12, and MSG13 to the group identified by the IP address 228.5.6.7.

1. In general, in group communication we need a coordinator to help coordinating all the members. For example, if the members need to order the received messages they will need the coordinator to tell them how to order these messages. Or, if the members need updates they can ask the coordinator. One thing that you will notice from the previous question is that a member will not receive the messages that were transmitted before he joins the group. In the next task, make sure that all new members receive the previously transmitted messages. This can be one of the roles of the coordinator.

You are asked to update the program of part 2 and making sure now that the coordinator keeps record of all transmitted messages and provides old messages to new members. The first member (ID1) to join the group will be considered as the coordinator. Its role is to act as a member, but also to send previously received messages to new members. The coordinator can deduce the IP address and port number of the new member that just joined the group and sends all previously received messages using UDP unicast interprocess communication.

Reference no: EM13371380

Questions Cloud

Keyboards microphones and mice have generally been used as : keyboards microphones and mice have generally been used as the standard input devices for most computer systems. the
Management theories are all about the application of those : management theories are all about the application of those theories to management problems such as scientific theory
1 the distribution of the weights of the packages received : 1. the distribution of the weights of the packages received by a parcel service is normal. nine packages are randomly
The temperature at each point x y of a metal plate is given : the temperature at each point x y of a metal plate is given bytxy 1 x2 32y2the path of a heat-seeking particle on
1 complete the partial code provided with this lab that : 1. complete the partial code provided with this lab that implements a simple group communication application using
1the driver of a truck loaded with 900 boxes of books will : 1the driver of a truck loaded with 900 boxes of books will be fined if the total weight of the boxes exceeds 36450
Problem 11 there is a formula for sample size n with given : problem 11. there is a formula for sample size n with given margin of error m and condence level c for population
In 1936 statistician and geneticist ra fisher reanalyzed : in 1936 statistician and geneticist r.a. fisher reanalyzed mendels famous pea data and using the chi-square statistic
Complete the strategic plan for your approved energy sector : complete the strategic plan for your approved energy sector organizationreflect on how your approved energy sector

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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