Home
Symple module

ClientState

Client connection states.

ClientState

#include <icy/symple/client.h>
struct ClientState

Defined in src/symple/include/icy/symple/client.h:38

Inherits: State

Client connection states.

List of all members

NameKindOwner
strfunctionDeclared here
TypeenumDeclared here
operator<<friendInherited from State
StatefunctionInherited from State
StatefunctionInherited from State
operator=functionInherited from State
~StatefunctionInherited from State
idfunctionInherited from State
setfunctionInherited from State
strfunctionInherited from State
toStringfunctionInherited from State
equalsfunctionInherited from State
betweenfunctionInherited from State
operator==functionInherited from State
operator==functionInherited from State
_idvariableInherited from State
IDtypedefInherited from State

Inherited from State

KindNameDescription
friendoperator<< inline
functionState
functionStateCopy constructor.
functionoperator=Copy assignment.
function~State virtualDefaulted destructor.
functionid constReturns the current state ID.
functionsetSets the state ID.
functionstr virtual constReturns a human-readable string for the given state ID. Override in derived classes to provide meaningful names.
functiontoString virtual constReturns a human-readable string for the current state ID.
functionequals constReturns true if the current state ID equals the given ID.
functionbetween constReturns true if the current state ID is in the inclusive range [lid, rid].
functionoperator== const inline
functionoperator== const inline
variable_id
typedefID

Public Methods

ReturnNameDescription
std::stringstr const inline override

str

const inline override

inline std::string str(unsigned int id) const override

Defined in src/symple/include/icy/symple/client.h:49

Public Types

NameDescription
Type

Type

enum Type

Defined in src/symple/include/icy/symple/client.h:40

ValueDescription
Closed
Connecting
Authenticating
Online
Error