Now you can download a copy of these docs so you can use them offline! Download now
ClientConnectionState.h
1 /*
2  * ClientConnectionState.h
3  *
4  * Created on: Nov 2, 2012
5  * Author: Mitchell Wills
6  */
7 
8 #ifndef CLIENTCONNECTIONSTATE_H_
9 #define CLIENTCONNECTIONSTATE_H_
10 
11 
15 
16 #include <exception>
17 #include "networktables2/connection/NetworkTableConnection.h"
18 
26 public:
43 
44 
45 private:
46  const char* name;
47 protected:
48  ClientConnectionState(const char* name);
49 public:
50  virtual const char* toString();
51 };
52 
53 
54 
61 private:
62  const ProtocolVersion serverVersion;
63 public:
68  ClientConnectionState_ProtocolUnsuppotedByServer(ProtocolVersion serverVersion);
72  ProtocolVersion getServerVersion();
73  const char* toString();
74 };
82 private:
83  std::exception& e;
84  char msg[100];
85 public:
90  ClientConnectionState_Error(std::exception& e);
94  std::exception& getException();
95  virtual const char* toString();
96 };
97 
98 
99 #endif /* CLIENTCONNECTIONSTATE_H_ */
static ClientConnectionState DISCONNECTED_FROM_SERVER
static ClientConnectionState IN_SYNC_WITH_SERVER
ClientConnectionState_Error(std::exception &e)
static ClientConnectionState SENT_HELLO_TO_SERVER
ClientConnectionState_ProtocolUnsuppotedByServer(ProtocolVersion serverVersion)
static ClientConnectionState CONNECTED_TO_SERVER

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