Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
XIncompatibleClient Class Reference

Incompatible client exception. More...

#include <XDeskflow.h>

Inheritance diagram for XIncompatibleClient:
Collaboration diagram for XIncompatibleClient:

Public Member Functions

 XIncompatibleClient (int major, int minor)
Public Member Functions inherited from XBase
 XBase ()
 Use getWhat() as the result of what()
 XBase (const std::string &msg)
 Use msg as the result of what()
 ~XBase () override throw () =default
const char * what () const override throw ()
 Reason for exception.

accessors

int getMajor () const noexcept
 Get client's major version number.
int getMinor () const noexcept
 Get client's minor version number.
std::string getWhat () const override throw ()
 Get a human readable string describing the exception.

Additional Inherited Members

Protected Member Functions inherited from XBase
virtual std::string format (const char *id, const char *defaultFormat,...) const noexcept
 Format a string.

Detailed Description

Incompatible client exception.

Thrown when a client attempting to connect has an incompatible version.

Constructor & Destructor Documentation

◆ XIncompatibleClient()

XIncompatibleClient::XIncompatibleClient ( int major,
int minor )

Member Function Documentation

◆ getMajor()

int XIncompatibleClient::getMajor ( ) const
noexcept

Get client's major version number.

◆ getMinor()

int XIncompatibleClient::getMinor ( ) const
noexcept

Get client's minor version number.

◆ getWhat()

std::string XIncompatibleClient::getWhat ( ) const
throw ( )
overrideprotectedvirtual

Get a human readable string describing the exception.

Reimplemented from XBase.


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