SessionStatus.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef PROTOCOLS__GENERICS__SESSION_STATUS_H
00024 #define PROTOCOLS__GENERICS__SESSION_STATUS_H
00025
00026 #include "Imports.h"
00027 #include "Data.h"
00028
00029 namespace Protocols {
00030 namespace Generics {
00031
00032 class Session;
00033
00035
00039 class SessionStatus
00040 {
00041 CALITKO_MOCKABLE
00042
00043 public:
00044 virtual ~SessionStatus() {}
00045
00046 virtual void sessionReceivedData (Session *, const Data &) = 0;
00047 virtual void sessionSendingData (Session *, const Data &) = 0;
00048 virtual void sessionClosing (Session *) = 0;
00049 virtual void sessionClosed (Session *) = 0;
00050 };
00051
00052 }
00053 }
00054
00055 #endif // PROTOCOLS__GENERICS__SESSION_STATUS_H