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

Client already connected exception. More...

#include <XDeskflow.h>

Inheritance diagram for XDuplicateClient:
Collaboration diagram for XDuplicateClient:

Public Member Functions

 XDuplicateClient (const std::string &name)
 ~XDuplicateClient () 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 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 already connected exception.

Thrown when a client attempting to connect is using the same name as a client that is already connected.

Constructor & Destructor Documentation

◆ XDuplicateClient()

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

◆ ~XDuplicateClient()

XDuplicateClient::~XDuplicateClient ( )
throw ( )
overridedefault

Member Function Documentation

◆ getName()

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

Get client's name.

◆ getWhat()

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