Abstract Session


By: N. Pryce

Summary: When an object's services are invoked by clients, the server object may have to maintain state for each client. The server creates a session object that encapsulates state information for the client. The server returns a pointer to the session object.

Pattern: Abstract Session

When an object's services are invoked by clients, the server object may have to maintain state for each client. The server creates a session object that encapsulates state information for the client. The server returns a pointer to the session object.


Published in: PLoPD4
Pages: 95-109
Category: Client-Server, Communications, Networks

Url: http://www-dse.doc.ic.ac.uk/~np2/patterns/