Line | |
---|
1 | /*! |
---|
2 | * @file message_manager.h |
---|
3 | * @brief Definition of MessageManager |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _MESSAGE_MANAGER_H |
---|
7 | #define _MESSAGE_MANAGER_H |
---|
8 | |
---|
9 | #include "synchronizeable.h" |
---|
10 | |
---|
11 | // FORWARD DECLARATION |
---|
12 | |
---|
13 | //! A class for sending messages over network |
---|
14 | class MessageManager : public Synchronizeable { |
---|
15 | |
---|
16 | public: |
---|
17 | MessageManager(); |
---|
18 | virtual ~MessageManager(); |
---|
19 | |
---|
20 | virtual int getStateDiff( int userId, byte* data, int maxLength, int stateId, int fromStateId, int priorityTH ); |
---|
21 | virtual int setStateDiff( int userId, byte* data, int length, int stateId, int fromStateId ); |
---|
22 | virtual void cleanUpUser( int userId ); |
---|
23 | |
---|
24 | |
---|
25 | private: |
---|
26 | |
---|
27 | }; |
---|
28 | |
---|
29 | #endif /* _PROTO_CLASS_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.