NetMauMau  0.24.0
Client API
Public Member Functions | List of all members
NetMauMau::Client::Exception::VersionMismatchException Class Reference

#include <versionmismatchexception.h>

Detailed Description

The server version is not supported by the client.

Since
0.4
Inheritance diagram for NetMauMau::Client::Exception::VersionMismatchException:
[legend]

Public Member Functions

uint32_t getClientVersion () const throw ()
 Gets the client version.
uint32_t getServerVersion () const throw ()
 Gets the server version.
SOCKET sockfd () const throw ()
 The socket on which the error occurred.
virtual const char * what () const throw ()
 A description of the error.

Member Function Documentation

uint32_t VersionMismatchException::getClientVersion ( ) const throw ()

Gets the client version.

Returns
the client version
uint32_t VersionMismatchException::getServerVersion ( ) const throw ()

Gets the server version.

Returns
the server version
SOCKET SocketException::sockfd ( ) const throw ()
inherited

The socket on which the error occurred.

Returns
the socket
const char * VersionMismatchException::what ( ) const throw ()
virtual

A description of the error.

Returns
the description of the error

Reimplemented from NetMauMau::Common::Exception::SocketException.