WPILibC++  trunk
Public Member Functions | List of all members
ServerConnectionState_Error Class Reference

#include <ServerConnectionState.h>

Inheritance diagram for ServerConnectionState_Error:
Inheritance graph
[legend]
Collaboration diagram for ServerConnectionState_Error:
Collaboration graph
[legend]

Public Member Functions

 ServerConnectionState_Error (std::exception &e)
 
virtual const char * toString ()
 
std::exception & getException ()
 

Additional Inherited Members

- Static Public Attributes inherited from ServerConnectionState
static ServerConnectionState GOT_CONNECTION_FROM_CLIENT
 
static ServerConnectionState CONNECTED_TO_CLIENT
 
static ServerConnectionState CLIENT_DISCONNECTED
 
- Protected Member Functions inherited from ServerConnectionState
 ServerConnectionState (const char *name)
 

Detailed Description

Represents that the client is in an error state

Author
Mitchell

Definition at line 57 of file ServerConnectionState.h.

Constructor & Destructor Documentation

ServerConnectionState_Error::ServerConnectionState_Error ( std::exception &  e)

Create a new error state

Parameters
e

Definition at line 23 of file ServerConnectionState.cpp.

Member Function Documentation

std::exception & ServerConnectionState_Error::getException ( )
Returns
the exception that caused the client connection to enter an error state

Definition at line 29 of file ServerConnectionState.cpp.


The documentation for this class was generated from the following files: