1
1
Ethernet broadband or baseband signalling Hub and repeaters - - PDF document
Ethernet broadband or baseband signalling Hub and repeaters Ethernet switches and bridges: Ethernet packets Ethernet topologies Bus, star, tree. Carrier-Sense Multiple Access with Collision Detection (CSMA/CD) All nodes
1
1
2
2
A B A B
A B
3
3
Applications, services Middleware layers request-reply protocol marshalling and external data representation UDP and TCP This chapter RMI and RPC
4
4
5
5
6
6
c)
d)
e)
f)
7
7
message agreed port any port socket socket Internet address = 138.37.88.249 Internet address = 138.37.94.248
client server
8
8
9
9
10
1
Process has no way to access it.
s: socket descriptor address: <local address, local port> or a path name len: the length of the address.
11
1 1
Server down or network corrupt
Server not ready yet
12
1 2
s: socket descriptor from-addr: to store the address of the client
len: length of from-addr Return a new socket. Usually block the caller Cannot select the client to be accepted.
13
1 3
socket() close() read() connect() write() client socket() bind() listen() accept() accept() read() write() close() server Start a thread Wait for new connection
14
1 4
close() readUTF() socket() writeUTF() client socket() accept() accept() readUTF() writeUTF() close() server Start a thread Wait for new connection
15
1 5
16
1 6
17
1 7
18
1 8
19
1 9
20
2
21
2 1
Account Id, Trader Id, Price, Quantity, Date, Customer Id Customer Id, Account Id, Trader Id, Price, Quantity, Date Application A outputs: Application 1 inputs: Application B outputs: Application 3 inputs: Parse Rules Transform Application 2 inputs: Date, Customer Id, Account Id, Price, Quantity, Trader Id Date, Price, Quantity, Trader Id Date, Customer Id, Price, Quantity
22
2 2
23
2 3
descriptor + application data
request message reply message.
report message: generated by the Queue Manager. For
24
2 4
25
2 5
26
2 6
27
2 7