Rev 983 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 983 | Rev 984 | ||
|---|---|---|---|
| Line 33... | Line 33... | ||
| 33 | 33 | ||
| 34 | class SocketThread : public Thread<SocketThread> |
34 | class SocketThread : public Thread<SocketThread> |
| 35 | { |
35 | { |
| 36 | public: |
36 | public: |
| 37 | SocketThread() { Thread<SocketThread>(); }; |
37 | SocketThread() { Thread<SocketThread>(); }; |
| 38 | SocketThread(string address, int port, unsigned int reconnectTimeout); |
38 | SocketThread(string address, unsigned int port, unsigned int reconnectTimeout); |
| 39 | ~SocketThread(); |
39 | ~SocketThread(); |
| 40 | 40 | ||
| 41 | unsigned int getId() { return myId; }; |
41 | unsigned int getId() { return myId; }; |
| 42 | void send(string data); |
42 | void send(string data); |
| 43 | 43 | ||