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

What is the function of an ip packet screening router, What is the function...

What is the function of an IP packet screening Router? Explain with the help of a diagram. Function of an IP Packet Screening Router: A screening router is the most fund

CRTscreen as a two-dimensional matrix, Explain the statement- CRT screen as...

Explain the statement- CRT screen as a two-dimensional matrix One can imagine the CRT screen as a two-dimensional matrix which has m rows and n  columns and this is usually ref

Explain difference between space and time division switching, Through two b...

Through two block diagrams explain the difference between Space division and time division switching. Space and Time Switching: Space Switches: Connections can be made i

What is precloud computing, What is precloud computing? Precloud comput...

What is precloud computing? Precloud computing is an email access was through a single computer, which also keeps all email messages. Example: Microsoft Outlook or Outlook Expr

Give the decription of user case, Give the decription of user case A us...

Give the decription of user case A use case is a description of the set of the sequence of actions which a system performs to produce an observable result which is of a value t

What is java awt, An AWT stands for Abstract Window Toolkit. AWT handles pr...

An AWT stands for Abstract Window Toolkit. AWT handles programmers to develop Java applications with GUI components, like windows, and buttons. The Java Virtual Machine (JVM) is re

What does "wire_read: unexpected eof" mean in gimp, This error message shou...

This error message should say something like "the plug-in (or the major GIMP app) I was talking to has existed before returning any results, so I suppose that it has crashed."

How to access the disk data, Q. How to Access the Disk Data? Disks oper...

Q. How to Access the Disk Data? Disks operate is semi-random mode of operation and generally referenced block wise. The data access time on a disk comprises two major component

Doubly linked list, A doubly linked list is like a linked list except that ...

A doubly linked list is like a linked list except that each node has a pointer both to the next node in the list and to the previous node in the list. There are also pointers to th

What is an abstract data type (adt), What is an Abstract Data Type (ADT)? ...

What is an Abstract Data Type (ADT)? Abstract data types or ADTs are a mathematical specification of a set of data and the set of operations that can be done on the data. They

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