Changeset 1184 for code/branches/network3/src/network/Client.h
- Timestamp:
- Apr 24, 2008, 11:00:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network3/src/network/Client.h
r1168 r1184 65 65 class _NetworkExport Client : PacketDecoder, public orxonox::Tickable{ 66 66 public: 67 Client(); 68 Client(std::string address, int port); 69 Client(const char *address, int port); 70 67 68 static Client* createSingleton(); 69 static Client* createSingleton(std::string address, int port); 70 static Client* createSingleton(const char *address, int port); 71 static void destroySingleton(); 72 static Client *getSingleton(); 73 71 74 bool establishConnection(); 72 75 bool closeConnection(); … … 84 87 85 88 private: 89 Client(); 90 Client(std::string address, int port); 91 Client(const char *address, int port); 92 ~Client(); 93 94 static Client* _sClient; 95 86 96 ClientConnection client_connection; 87 97 PacketGenerator pck_gen;
Note: See TracChangeset
for help on using the changeset viewer.