Now you can download a copy of these docs so you can use them offline! Download now
ServerConnectionState.cpp
1 /*
2  * ServerConnectionState.cpp
3  *
4  * Created on: Sep 27, 2012
5  * Author: Mitchell Wills
6  */
7 
8 #include "networktables2/server/ServerConnectionState.h"
9 
11 
13 
15 
16 
17 ServerConnectionState::ServerConnectionState(const char* _name):name(_name){
18 }
19 const char* ServerConnectionState::toString(){
20  return name;
21 }
22 
24 }
25 const char* ServerConnectionState_Error::toString(){
26  return "SERVER_ERROR";
27  //TODO return "SERVER_ERROR: "+e.getClass()+": "+e.what();
28 }
30  return e;
31 }
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