dcsimg
Client/Server Sequence Diagrams
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, March 11, 2005 02:33 PM

Bit of a newbie question....

If drawing a sequence diagram for a client/server application, do i show the client sending messages to the server directly (and vice versa) or is it better practice to base this around the method that the client talks to the server, i.e. Showing an object of the Socket Class (Java) being used to recieve and transmit the messages between
the client and server as this is more representative of what is happening?

Thanks
RR

Re: Client/Server Sequence Diagrams

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, March 12, 2005 07:11 AM

I would think (?) it depends on "whose" sequence of interactions you are modelling.


If you are modelling the classes implementing TCP protocol itself, then yes you would show the Socket class, sending to the receiving Socket class, and so on.


My guess is that you are modelling the higher level, the client which simply uses a Socket internally, etc....


About | Sitemap | Contact