CSE3213_03_LayeredArchitectureW2012 1.6

CSE3213_03_LayeredArchitectureW2012 1.6 -...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
26 class TransportLayer { int pickPortNumber (); Packets[] reassemble (Object file); Packets[] addHeaders (Packets[] filePackets, int portNmb); static void send (Object applicationLayerFile ); static Object assemble(); static Packets[] removeHeaders(Object file); static void receive(); static void send (Object applicationLayerFile ) { int portNmb = pickPortNumber (); Packets[] filePackets = reassemble ( applicationLayerfile ); Packets[] packetsWithHeader = addHeaders ( filePackets, portNmb ); for (int i=1; i< packetsWithHeader .length; i++) { NetworkLayer . send ( packetsWithHeader [i]); } TransportLayer TransportLayer FastSecureApplication InternetExplorer FastSecureApplication InternetExplorer INTERNET
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
27 LAN 2 LAN 1 class NetworkLayer { static void send (Object trsportLayerPaket ) { …. } NetworkLayer NetworkLayer TransportLayer TransportLayer FastSecureApplication InternetExplorer FastSecureApplication InternetExplorer NetworkLayer router PC PC Network Layer ensures effective transmission of individual packets to the final destination over WAN
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/14/2012 for the course CSE 3213 taught by Professor A during the Winter '10 term at York University.

Page1 / 5

CSE3213_03_LayeredArchitectureW2012 1.6 -...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online