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

Client not in map exception. More...

#include <XDeskflow.h>

Inheritance diagram for XUnknownClient:
Collaboration diagram for XUnknownClient:

Public Member Functions

 XUnknownClient (const std::string &name)
 ~XUnknownClient () override throw () =default
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

virtual const std::string & getName () const noexcept
 Get the client's name.
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

Client not in map exception.

Thrown when a client attempting to connect is using a name that is unknown to the server.

Constructor & Destructor Documentation

◆ XUnknownClient()

XUnknownClient::XUnknownClient ( const std::string & name)
explicit

◆ ~XUnknownClient()

XUnknownClient::~XUnknownClient ( )
throw ( )
overridedefault

Member Function Documentation

◆ getName()

const std::string & XUnknownClient::getName ( ) const
virtualnoexcept

Get the client's name.

◆ getWhat()

std::string XUnknownClient::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: