Explain direct or indirect communication, Computer Engineering

Assignment Help:

Explain Direct or Indirect Communication in Inter-process communication.

Several types of message passing system in Direct or Indirect Communication are given below:

With direct communication, each process which wants to communicate should explicitly name the recipient or sender of the communication. In such scheme, the send and receive primitives are explained as:

a. send(P, message)- Send a message to process P.

b. receive(Q, message)- Receive a message from process Q.

A communication link in this scheme has the subsequent properties:

a. A link is established automatically in between every pair of processes which want to communicate. The processes need knowing only each other's identity to communicate.

b. A link is connected with exactly two processes.

c. Exactly one link exists in between each pair of processes.

With indirect communication, the messages are sent to and received from ports or mailboxes. All mailboxes have identification of uniqueness. In such scheme, a process can communicate along with some other process via numerous type mailboxes. There are two processes can communicate only if they share a mailbox. Both send and receive primitives are explained as follows:

a. send (A, message)- Send a message to mailbox A

b. receive (A, message)- Receive a message from mailbox A.

In such scheme, a communication link has the subsequent properties

a. A link is established in between a pair of processes only if both members of the pair have a shared mailbox.

b. A link may be connected with more than two processes.

c. A number of different links may exist in between each pair of communicating processes, along with each link corresponding to one mailbox.


Related Discussions:- Explain direct or indirect communication

State the implementation of a security policy, State the implementation of ...

State the implementation of a security policy The implementation of a security policy should invariably cover all parameters of security such as physical access to the server,

Estimate the circuit switched network, a) Total available bandwidth = 1 Mbp...

a) Total available bandwidth = 1 Mbps = 1000 Kbps Each user requires send data at the rate of = 500 kbps As it is circuit switched network we have to dedicate the bandwidth So the

What are the different kinds of lock modes, What are the different kinds of...

What are the different kinds of lock modes? There are three types of lock modes:- Shared lock Exclusive lock. Extended exclusive list.

Explain about the voice recognition device, Explain about the Voice recogni...

Explain about the Voice recognition device Blind and partially-sighted people can communicate with a computer using microphone and software (keyboard and touch screens can't be

Basic need of random access memory, Q. Basic need of Random Access Memory? ...

Q. Basic need of Random Access Memory? Main memory is Random access memory. It is generally organised as words of fixed length. Length of a word is termed as word length. Every

Compare hypertext versus hypermedia, Compare hypertext versus hypermedia.  ...

Compare hypertext versus hypermedia.  Hypertext is basically similar as regular text - it can be stored, read, searched, or edited - with a significant except ion: hyper text h

What are the disadvantages of public key cryptography, What are the disadva...

What are the disadvantages of Public Key Cryptography? Disadvantages of Public Key Cryptography are as given below: a) It is used to encrypt a secret key that is used to e

System software, define the properties of interactive operating systems

define the properties of interactive operating systems

The spanning tree of connected graph with 10 vertices, The spanning tree of...

The spanning tree of connected graph with 10 vertices have 9 edges of spanning tree of connected graph with 10 vertices

State the structure of verilog code you follow, State the structure of Veri...

State the structure of Verilog code you follow? A good template for your Verilog file is shown below. // timescale directive tells the simulator the base units and precision

Write Your Message!

Captcha
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