answersLogoWhite

0


Best Answer

Encapsulation is the process of adding header information to the layers' data "payload". As the "payload" is passed from one TCP/IP (or OSI) layer to the next, encapsulating layer information is wrapped around the data. So, for example, if the application layer produces a data payload for transmission, it encapsulates it with application-layers headers, which then gets passed to the presentation layer. The presentation layer does the same and so down the protocol stack before transmission across the physical media. At the destination, the process is reversed by way of de-encapsulation where the headers are stripped-off by each matching layer at the destination.

1. Application, Presentation and Session layers create data. {Encapsulation headers added by layers}

2. Transport layer coverts data into segments for transport across the network. {Encapsulation headers added by layer}

3. Network layer converts segments into packets (or Datagrams). {Encapsulation headers added by layer}

4. Data Link layer converts packets (and datagrams) into Frames and the Data Link header is added. {Encapsulation headers added by layer}

5. Physical - frames are converted into bits for transmission over the physical media.{Encapsulation headers added by layer}

User Avatar

Wiki User

9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

The ability to make changes in your code without breaking the code of all others who use your code is a key benefit of encapsulation. You should always hide implementation details. To elaborate, you must always have your variables as private and then have a set of public methods that others can use to access your variables. Since the methods are public anyone can access them, but since they are in your class you can ensure that the code works the way that is best for you. So in a situation that you want to alter your code, all you have to do is modify your methods. No one gets hurt because i am just using your method names in my code and the code inside your method doesnt bother me much.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the steps of encapsulation?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the name of the process of building a frame around network layer information?

Encapsulation. Actually, this is one type of encapsulation; encapsulation occurs at several layers.Encapsulation. Actually, this is one type of encapsulation; encapsulation occurs at several layers.Encapsulation. Actually, this is one type of encapsulation; encapsulation occurs at several layers.Encapsulation. Actually, this is one type of encapsulation; encapsulation occurs at several layers.


Which command sets the encapsulation on a Serial interface back to the Cisco default?

encapsulation hdlc


A procedure can be said to have a referential transparency if it behaves in the same way nomatter where it is used and encapsulation if the procedure can be used correctly without knowing how it is i?

A procedure is something that you do with steps, and normally, you will have 10 steps, also you must add the equipment to make is easier to do.


3 pillars of object oriented programming?

abstraction, inheritance, encapsulation, and polymorphism.


Why encapsulation is needed in java?

Encapsulation is not needed in Java, or any other language. But it's useful. Encapsulation is used to minimise the number of potential dependencies with the highest probability of change propagation.


Is encapsulation a characteristic of procedural or object oriented programming?

Encapsulation is one of the four pillars of object-oriented programming. The other three are inheritance, polymorphism and abstraction.


The three basic principles of object-oriented design?

Encapsulation,Inheritance and Polimorphisim...


If two switches each support all types of trunk encapsulation on a link between them which type of encapsulation will be negotiated?

12


What is mean by encapsulation of data?

In general, encapsulation is the inclusion of one thing within another thing so that the included thing is not apparent.


What network component handles encapsulation?

Protocol


What is pdu encapsulation?

protocol data unit


What is de-encapsulation?

Removing something from a capsule.