Professional Documents
Culture Documents
2) connecton oriented
1. Idleness periods
2. control characters
3.data stream
1) asynchronous multiplexing
2) synchronous multiplexing
Asynchronous multiplexing :
2. synchronous multiplexing:
process p
null: Boolean,
d: 0…r-1
i:= any
send asyn(I,d) to q
null,i:=any,nxt
if ~null→ d, index[i]:=data[I,inde[i]],index[i]+1
null→ d:=0
nxt:=nxt+n 1;
od
od
end
process q
null: boolean,
d: 0…r-1
begin
if null→ skip
fi;
od
end
3. encapsulation of data:
protocol:
process p
par i : 0…n-1
begin
seq :=seq+1
end
process q
par i : 0…n-1
begin
rcv encp (seq, i ,txt) from p → { use seq for recording purpose}
end