Now you can download a copy of these docs so you can use them offline! Download now
ServerConnectionState.h
1 /*
2  * ServerConnectionState.h
3  *
4  * Created on: Sep 26, 2012
5  * Author: Mitchell Wills
6  */
7 
8 #ifndef SERVERCONNECTIONSTATE_H_
9 #define SERVERCONNECTIONSTATE_H_
10 
13 
14 #include <exception>
15 
16 
17 
25 {
26 public:
39 
40 private:
41  const char* name;
42 protected:
43  ServerConnectionState(const char* name);
44 public:
45  virtual const char* toString();
46  virtual ~ServerConnectionState()
47  {
48  }
49 };
50 
58 {
59 private:
60  std::exception& e;
61 public:
66  ServerConnectionState_Error(std::exception& e);
67 
68  virtual const char* toString();
72  std::exception& getException();
73 };
74 
75 #endif /* SERVERCONNECTIONSTATE_H_ */
static ServerConnectionState GOT_CONNECTION_FROM_CLIENT
ServerConnectionState_Error(std::exception &e)
static ServerConnectionState CLIENT_DISCONNECTED
static ServerConnectionState CONNECTED_TO_CLIENT

Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by doxygen 1.8.6