You are on page 1of 6

RPC MECHANISM

CLIENT PC SERVER PC

Iniators
Client Client
object object

Gateways,
routers, writes
mashals/ Skeleton
Stub object
unmasals object
messages

Remote Which method Remote


reference reference
to be referred
layer RRL layer RRL
to?

Transport Transmission Transport


layer TL TCP/IP layer TL
UDP
Client Wait for result Client

Call remote procedure Return from call

Request Reply

Server
Call server local procedure and return results
request message
do getRequest

selectObject
wait
executeMethod

continue sendReply
reply message
STOP AND WAIT

1KB 1KB 1KB 1KB 1KB 0: 1KB

ACK 0:
1KB

1: 1KB

ACK 1:
1KB

2: 1KB

ACK2:
1KB

3: 1KB

ACK3:
1KB
BLAST

0: 1KB

1KB 1KB 1KB 1KB 1KB

1: 1KB

2: 1KB

3: 1KB

ACK0-3: 4KB

You might also like