Protocols::Generics::SessionStatus Class Reference

#include <SessionStatus.h> [code]

Inherited by Protocols::Http::SingleHostClientHttpSession.

Inheritance diagram for Protocols::Generics::SessionStatus:

Inheritance graph
[legend]
List of all members.

Detailed Description

Interface SessionStatus - Session notifications listener.

SessionStatus is a notification interface for Session. Classes implementing Session would probably have SessionStatus as a required interface.

Definition at line 39 of file SessionStatus.h.

Public Member Functions

virtual ~SessionStatus ()
virtual void sessionReceivedData (Session *, const Data &)=0
 Notification sent when a new Data object is received.
virtual void sessionSendingData (Session *, const Data &)=0
 Notification sent when a new Data object is sent.
virtual void sessionClosing (Session *)=0
 Notification sent when Session::close() is called.
virtual void sessionClosed (Session *)=0
 Notification sent when the Session is completely closed.


Constructor & Destructor Documentation

virtual Protocols::Generics::SessionStatus::~SessionStatus  )  [inline, virtual]
 

Definition at line 44 of file SessionStatus.h.


Member Function Documentation

void SessionStatus::sessionClosed Session session  )  [pure virtual]
 

Notification sent when the Session is completely closed.

Parameters:
session is the Session object sending the notification.

Implemented in Protocols::Http::SingleHostClientHttpSession.

void SessionStatus::sessionClosing Session session  )  [pure virtual]
 

Notification sent when Session::close() is called.

Parameters:
session is the Session object sending the notification.

Implemented in Protocols::Http::SingleHostClientHttpSession.

void SessionStatus::sessionReceivedData Session session,
const Data data
[pure virtual]
 

Notification sent when a new Data object is received.

Parameters:
session is the Session object sending the notification.
data is the Data object received from the Session.
Each time a new Data object is received from the Session this function will be called to notify the registered status listener.

void SessionStatus::sessionSendingData Session session,
const Data data
[pure virtual]
 

Notification sent when a new Data object is sent.

Parameters:
session is the Session object sending the notification.
data is the Data object that is being sent over the Session.
Each time a new Data object is sent over the Session this function will be called to notify the registered status listener.


The documentation for this class was generated from the following files: