Distributed information systems

Assignment Help Computer Engineering
Reference no: EM1383310

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: EM1383310

Questions Cloud

Determine the compression of each spring : The 75 lb block is released from rest 5 ft above the plate. Determine the compression of each spring when the block momentarily comes to rest after striking the plate.
Roles and responsibilities of leaders : Analyze the roles and responsibilities of leaders in creating and maintaining a healthy organizational culture. Differentiate between management and leadership.
Explain process of diagnosing and troubleshooting errors : How do third-party plug-ins change process of diagnosing and troubleshooting errors in the application? What steps would you take in diagnosing the application which has been changed from its original state?
What things must we keep in mind when writing an email : What things must we keep in mind when writing an email versus speaking with someone face-to-face
Distributed information systems : Complete the partial code provided with this lab that implements a simple group communication application using Java's MulticastSocket class.
What is the relationship between group norms : What is the relationship between group norms and group cohesiveness? What roles do both cohesiveness and norms play in shaping group performance?
Distance between adjacent pairs of loci : Here are the distances between adjacent pairs of loci. A map distance of fifty = independent assortment. Please map genes giving distances between adjacent pairs of loci.
Duplex system with no redundancy : What is the salt usage for each regeneration if the system regenerated every 10 days? What size resin tanks (diameter, height) would be required for a duplex system with no redundancy?
Explaining somalian refugee crisis : At least 500-600 Somali refugees are going to be settled in Figaro in upcoming year, as part of U.S. government program. Somali refugees have been resettled in number of cities in U.S. already.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Define a prefix of a string is a substring string

An exact match will override a prefix match. For instance, the prefix "car" matches the given word "car" exactly. Therefore, it is understood without ambiguity that "car" is an abbreviation for "car", not for "carriage" or any of the other words i..

  What do you mean by the tip

"How to Use JavaScript to Liven up your Web site, how to protect users whose browsers will not load JavaScript. What is the tip? would Web site designers write JavaScript code so all browsers can use it? Why?

  While is it important to denormalize a database

What is the meaning of denormalization, and why can it be desirable? Provide an example.

  Program that reads letters from a file called"inputlet.txt"

This program must open an inputLet.txt file , read in one character at a time and repeat this for the number of games the user wants to play.

  Context free language

Let L1 be the regular language and L2 be the context-free language, both described over the same alphabet Σ. a) Is L1∩L2 always regular? Explain your claim.

  Benefit of ethical hacking

Describe what you consider is the main benefit of the ethical hacking be sure to involve what is the role of an ethical hacker.

  Uses and developing the class diagram

Choose one of the uses and develop a class diagram. Generate a sequence diagram for use case that you had selected.

  How important is it to keep the site current

How important is it to keep the site current.According to "Putting Business Online Isn't Always Easy" (2005), "the biggest mistake people make is failing to know the commitment a Web site demands."

  Definition of method dashedline

Write down the definition of the method dashedLine , with one parameter, an int. If parameter is negative or zero, method does nothing.

  How to organize the data for the high school reunion

many of your family members have found out that you are using Excel to arrange the data for the high school reunion. Your Uncle Larry wants to create an inventory of the over 800 video games that he collects.

  Demonstrate that the expected search time for hashing

Demonstrate that the expected search time for hashing

  Program for converting infix expressions into postfix form

Write a program which will transform the infix expressions into the postfix form and then determine the resulting postfix expression.

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