If you can't read please download the document
Upload
bill-ott
View
698
Download
0
Embed Size (px)
Citation preview
2. Defining Terms: Server and Client Client: Server: A software process, or collection of closely related processes, running within an operating system. The same. A server performs services at the request of clients. Software, not hardware. 3. Client and Server as Defined by Socket Calls Client: send() sendto() write() recv() recvfrom() read() recv() recvfrom() read() send() sendto() write() listen() accept() Server: 4. Jabber server OSRF Network router Client 5. Jabber Message Stanza ... Jabber ID: username@domain/resource OSRF messages:
6. Use Case: srfsh Command srfsh# request open-ils.cstoreopen-ils.cstore.direct.actor.org_unit.retrieve 3 What srfsh knows:
What srfsh doesn't know:
Construct Jabber ID, e.g.:
7. Jabber cstore REQUEST client to router router srfsh 8. Router Processing Router knows:
Construct a message:
9. Jabber cstore REQUEST/RESULT router srfsh 10. Jabber listener REQUEST/RESULT in greater detail router client drone 11. Jabber listener CONNECT router client drone 12. Jabber listener REQUEST/RESULT with a connection router client drone 13. Jabber listener DISCONNECT router client drone 14. Summary