Last change
on this file since 5565 was
5533,
checked in by patrick, 19 years ago
|
network: some small changes in the comments and formatting in makefile.am
|
File size:
736 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file network_manager.h |
---|
3 | * Main interface for the network module. Manages all the modules |
---|
4 | |
---|
5 | */ |
---|
6 | |
---|
7 | /* you will want to add such a a line at your header file also, since it will |
---|
8 | prevent c++ from including your code twice*/ |
---|
9 | #ifndef _NETWORK_MANGER |
---|
10 | #define _NETWORK_MANAGER |
---|
11 | |
---|
12 | |
---|
13 | /* include base_object.h since all classes are derived from this one */ |
---|
14 | #include "base_object.h" |
---|
15 | |
---|
16 | |
---|
17 | |
---|
18 | class NetworkManager : public BaseObject |
---|
19 | { |
---|
20 | |
---|
21 | public: |
---|
22 | |
---|
23 | NetworkManager(); |
---|
24 | ~NetworkManager(); |
---|
25 | |
---|
26 | void initialize(); |
---|
27 | void shutdown(); |
---|
28 | void establishConnection(/* address, port, object reference*/); |
---|
29 | void shutdownConnection(); |
---|
30 | |
---|
31 | void registerListener(); |
---|
32 | void synchronize(); |
---|
33 | |
---|
34 | }; |
---|
35 | |
---|
36 | |
---|
37 | |
---|
38 | #endif /* _NETWORK_MANAGER */ |
---|
Note: See
TracBrowser
for help on using the repository browser.